Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

add upstream in git

# checking the url of remotes
git remote -v

# add another url to git
git remote add upstream <url>

# 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
Source by www.atlassian.com #
 
PREVIOUS NEXT
Tagged: #add #upstream #git
ADD COMMENT
Topic
Name
7+6 =