📜  如何更新 git - Shell-Bash 代码示例

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

代码示例6
First, navigate to the desired directory:

$ cd ~/Documents/GitHub/DI-NEON-participants

And then type:

$ git remote add upstream https://github.com/NEONS...

Update local repo using git pull with the added directions of 
upstream indicating the central repository and master specifying 
which branch you are pulling down:

$ git pull upstream master