Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how can i squash last X commits

git rebase -i HEAD~<number of commits>
git commit
 
PREVIOUS NEXT
Tagged: #squash #X #commits
ADD COMMENT
Topic
Name
2+8 =