Answers for "squash commit history git"

3

squash commit history git

# THIS TURNS YOUR WHOLE COMMIT HISTORY INTO ONE SINGLE COMMIT!
# BE CAREFUL!

git rebase --root -i

# In your editor, for each commit except the top, change `pick` to `squash`
Posted by: Guest on August-23-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language