Answers for "how to add upstream on github"

1

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
Posted by: Guest on December-02-2021

Code answers related to "how to add upstream on github"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language