Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git rebase onto

# change the parent (oldparent) of a commit to another parent (new parent)
git rebase --onto <newparent> <oldparent> 
git rebase --onto <newparent> <oldparent> <up-to>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #rebase
ADD COMMENT
Topic
Name
3+8 =