Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

forked repo rebase

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

git fetch upstream

git checkout main

git rebase upstream/main

git push -f origin main
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #forked #repo #rebase
ADD COMMENT
Topic
Name
2+3 =