How does webstorm submit a local project to an existing repository on github (the project was created without checking out from github)
高洛峰
高洛峰 2017-05-02 09:45:31
0
3
733

How does webstorm submit a local project to an existing repository on github (the project was created without checking out from github)

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(3)
过去多啦不再A梦

The project was created without checkout from github

This question. . It seems to be the same as checkout 无关,,你想说的应该是 clone. . .

If you don’t have a clone 也没关系。。如果你本地没有 .git folder, and you don’t plan to mess with the command line, then this is it:

You can also use the shortcut key on Mac OS ctrl + v to open the shortcut menu, and then select Create as well:

The next step is to add the remote first, and then pull

Then handle the possible conflicts and submit it.

Same steps as mentioned above, except you don’t need to use the command line

巴扎黑

First configure git in webstorm, or you can submit it directly in the project folder. The premise is that you have to have your own warehouse on github. Register an account first, generate the key with local git, and then add the key on github. You can use Baidu for details. With permission, you can create a project and submit the project to have its own warehouse

刘奇
git init
git add .
git commit -am 'init'
git remote add origin https://github.com/xxx/xxx.git
git pull origin master --allow-unrelated-histories

If there is a conflict, resolve it before submitting.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template