Answers for "git rebase fork"

10

update fork repository

## Add Original Repository
git remote add upstream https://github.com/OriginalOwner/OriginalProject.git

## Verify if Repository is added
git remote -v

## Fetch Updates from Original Repository
git fetch upstream

## Checkout to your master branch
git checkout master

## Get Updates from upstream repo
git merge upstream/master

## Push the commit over 
git push origin master
Posted by: Guest on June-10-2020
1

git rebase fork

git remote add upstream https://github.com/whoever/whatever.git

git fetch upstream

git checkout master

git rebase upstream/master

git push -f origin master
Posted by: Guest on October-01-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language