Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

make changes to a previous commit

git rebase -i @~9   # Show the last 9 commits in a text editor
pick e to edit, save and close file
git commit --amend   #make changes
git rebase --continue 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #previous #commit
ADD COMMENT
Topic
Name
4+7 =