Profile
Achievement
You have not received any achievements.jturmel's Recent SnippetsTagged git
- All /
« Prev 1 Next »
So we use Gerrit for code reviewing and I run **git commit --amend** quite a bit, a lot of times I don\\\'t want to amend the message I just want to add my new files to my existing commit and keep working, this makes that part easier. Just add this...
0
560
posted 14 years ago by jturmel
Squashing
---------
WARNING: "git rebase" changes history. Be careful. Google it.
git rebase --interactive HEAD~10
(then change all but the first "pick" to "squash")
squash the last 10 commits into one big commit
0
1298
posted 14 years ago by jturmel