StrategyCeleryWebsite
StrategyCeleryWebsite copied to clipboard
Squash commits
For a better understanding of commits you might squash commits http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
$ git rebase -i HEAD~3
replace
pick MY COMMIT MESSAGE
pick 2nd COMMIT MESSAGE
pick 3rd COMMITMESSAGE
by
pick MY COMMIT MESSAGE
s 2nd COMMIT MESSAGE
s 3rd COMMITMESSAGE
and
$ git push -f
Could you explain about "squash commits"? I am not good at git operation. I only use git commit -m "" and git push.