Answers for "make changes to a previous commit"

0

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
Posted by: Guest on April-23-2022
0

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
Posted by: Guest on April-23-2022

Browse Popular Code Answers by Language