Update local repository from a remote repository

Git from a remote library copy

Use git fetch origin master: temp create a local temp branch and remote warehouse master branch code downloaded to the local branch above

git fetch origin master:temp

git merge temp

 

View remote branch

git remote -v

 

Guess you like

Origin www.cnblogs.com/lvchengda/p/12605336.html