Answers for "git squash two commits in the middle"

0

git squash last 2 commits

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

git squash commit

git rebase -i HEAD~5
# As the commit on line 1 is HEAD, in most cases you would leave this as 
# pick. You cannot use squash or fixup as there is no other commit to 
# squash the commit into.
Posted by: Guest on January-04-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language