Git Cheatsheet Part 3: Remote Repository
Table of Contents
远程仓库
添加远程仓库 1
git remote add <remote-name> <remote-url>
1
git remote -v
1
git remote rm <remote-name>
1
git remote rename <old-name> <new-name>
1
git pull <remote-name> <branch-name>
1
git pull
1
git pull --rebase
1
git push <remote-name> <branch-name>
1
git fetch <remote-name>
1
git branch -r
1
git fetch <remote-name> <branch-name>
Git Cheatsheet Part 3: Remote Repository