After a new local branch, pushed to the distal end

Today's vocational education is the best weapon to stifle genius! Franklin has been difficult box appears, as a generalist Leonardo da Vinci!


 

 

 

 

Push local branch to remote repository:

Note: git the Push --set-upstream Origin dev1 , dev1 last name you want to push local branch, not to the remote branch re-named!

Then, you can see the new branch at the remote end. You modify and add locally after commit, push, you can update the distal end of the branch dev1.

(Think: currently performed at local branches git push, without any parameters, the default is to push the distal end of the current branch associated with the local branch of it ha)

 

 


 

Another way: --- Do not use this! , To establish branches at the far end, but when push an error

(: On the left is the local branch name)

 

Guess you like

Origin www.cnblogs.com/butterflybay/p/11294473.html