Answers for "git squash multiple commits after commit"

1

git revert multiple commits with one commit

# Revert the last n commits, but don't commit anything.
git revert --no-commit HEAD~n..
Posted by: Guest on December-13-2021
0

git squash last 2 commits

git rebase -i HEAD~2
Posted by: Guest on March-27-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language