Re:Using 'git stash' as a todo list
by Xurinos on Sunday November 28, 2010 @09:41PM
(#1949168)
I just use
That way I can code at my leisure and worry less about the bookkeeping until I am ready to publish.
[ Parent
| on HN ]
I do that as well, but I don't really like that I'm actually committing untested code, since I might forget a needed part.
You can test exactly what you're about to commit by doing a `git stash save --keep-index`, then test, commit, and `git stash pop` to get your working tree back.
Re:Using 'git stash' as a todo list
by stephencelis on Monday November 29, 2010 @12:18PM
(#1950992)
There's also
git stash -p
:)Nice, I had no idea that existed. Now to learn what all the non-obvious letters mean :)
Definitions: http://www.kernel.org/pub/software/scm/git/docs/git-add.html...