Community Page
- phildawes.net/blog/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Hi, Do you feel that your agility in Factor has improved since this post? Roger
- Thanks for the pointer - I've cleaned up the spam and regrettably added some moderation
- I'm loving the comments thread for this post. Can't decide whether to get my upholstery cleaned or do something about my fast food obesity.
- Cool - thanks Eric
- I pasted some code that does the moving sum in factor. http://paste.factorcode.org/paste?id=569#282
Jump to original thread »
A nice feature of distributed version control is that you can commit into your repository more often because you aren’t impacting others with each commit. Recently I’ve been taking this to the extreme using git and performing a commit almost at every save. I have an emacs key
... Continue reading »
1 year ago
# *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