📜  在 git 中添加上游 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:17.991000             🧑  作者: Mango

代码示例2
# checking the url of remotes
git remote -v

# add another url to git
git remote add upstream 

# now you can use

git pull upstream master (or other branch names)

upsteam is the standard name used, but you can change it if you want to