Shell/Bash: update git repository Example

By

Shell/Bash Example: This is the "update git repository" Example. compiled from many sources on the internet by SimpleTutorials.org

how to update git

git update-git-for-windows

update git repository

$ git pull origin master

how to update git

C:\> git update-git-for-windows

update git

# For windows use
git update-git-for-windows
# else I guess?
git update

git update local repo from master

git pull origin master

how to update your local repository

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



* Summary: This "update git repository" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others