📜  从 github 更新本地存储库 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:42.902000             🧑  作者: Mango

代码示例2
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