Re:A Git catastrophe cleaned up
by duiker101 on Wednesday December 21, 2016 @08:17AM
(#13228819)
If you are committing so rarely that you can have a CATASTROPHE with your in-progress work, maybe you should try breaking the work in smaller parts and committing more often
[ Parent
| on HN ]
Unfortunately git's staging area concept encourages you to do exactly the opposite of this.
Re:A Git catastrophe cleaned up
by reitanqild on Wednesday December 21, 2016 @10:35AM
(#13229866)
I almost only use it to cherry-pick and then immediately commit?
Right, all the good use cases involve not actually using it - if you're immediately committing then it would be better if it just became a commit.
Re:A Git catastrophe cleaned up
by reitanqild on Thursday December 22, 2016 @07:38AM
(#13236849)
I meant: I cherrypick from my changes and commit bugfixes and drive-by update of comments separately.
My bad. I shouldn't have used the word cherrypick there.