Answers for "what command can you use to squash several commits into one commit"

0

git squash last 2 commits

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

git rebase two commits to one

git reset --soft "HEAD^"
git commit --amend
Posted by: Guest on December-01-2021

Code answers related to "what command can you use to squash several commits into one commit"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language