1.查看遠程倉庫
git remote -v
2.從遠程獲取最新版本到本地
git fetch origin master:temp
3.比較本地的倉庫與遠程倉庫的區別
git diff temp
4.合並temp分支到master分支
git merge temp
5.可刪除分支
git branch -d temp
1.查看遠程倉庫
git remote -v
2.從遠程獲取最新版本到本地
git fetch origin master:temp
3.比較本地的倉庫與遠程倉庫的區別
git diff temp
4.合並temp分支到master分支
git merge temp
5.可刪除分支
git branch -d temp
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。