从远程仓库更新本地仓库

Git从远程库copy

使用git fetch origin master:temp 在本地新建一个temp分支,并将远程仓库的master分支的代码下载到本地分支上面

git fetch origin master:temp

git merge temp

查看远程分支

git remote -v

猜你喜欢

转载自www.cnblogs.com/lvchengda/p/12605336.html