Project Common git commands

git command has been familiar, remember the forgotten, where you make a record of it.

Usually to be useful, there are problems encountered and solutions, will record each, to be shared.

After you've created a 1.github warehouse, set the wrong source, delete the original source command:

  git remoter remove origin  

2. Local warehouse associated with the remote warehouse, first set the source:

 git remote add origin https://github.com/xxx/xxx.git 

    And then submit the code: git the Push -u Origin Master

Guess you like

Origin www.cnblogs.com/scallop/p/11389268.html
Recommended