-
Website
http://phildawes.net/blog/ -
Original page
http://www.phildawes.net/blog/2007/10/20/frequent-code-checkpointing-with-git/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
danja
4 comments · 4 points
-
phildawes
5 comments · 1 points
-
Dominic Sayers
1 comment · 1 points
-
David W.
2 comments · 1 points
-
ryantm
1 comment · 1 points
-
-
Popular Threads
-
Phil Dawes Stuff >> Idea for a global interpreter lock optimized for low contention
2 weeks ago · 3 comments
-
Phil Dawes Stuff >> Hand-coding multi-platform assembler using Factor compiler intrinsics
1 month ago · 1 comment
-
Phil Dawes Stuff >> Idea for a global interpreter lock optimized for low contention
# *hack*
git commit -a -m"one"
# *hack*
git commit -a -m"two"
git rebase -i HEAD~2
# bring us an editor, select the "one" and "two" as squash, save, exit.
git log
An alternative workflow is to use git commit --amend. But this does not keep your micro history around. It just puts any recent changages into the last commit.
# *hack*
git commit -a -m"I am working on blah"
# *hack*
git commit --amend
...
-Bart