webstorm 推送项目到github

1.在github中建立对应仓库。

webstorm 推送项目到github

webstorm会建立连接,在github中建立对应的仓库。根据提示,会执行commit,以及push。

然而,webstorm默认使用的是ssh连接。push失败。

因此,执行第二步,设置remotes为https格式。

2.添加远程仓库

https格式在为:https://github.com/lven/es6.git

webstorm 推送项目到github

webstorm 推送项目到github

webstorm 推送项目到github


设置webstorm的gitRemotes为https模式。

3.执行push

webstorm 推送项目到github