Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> "commit your halfway feature work/.../come back to the feature and amend/squash/soft reset"

...this is just by-hand stashing with alternative commands and extra "WIP" commit messages.

Which, uh, is admittedly an option. One that won't easily preserve your index independently from your working tree - awkward if you're in the middle of painstakingly separating out changes to add to the next commit with `git add -p` - and one that risks "WIP" commits ending up in your tree... but it is an option.



IMO you don’t need anything more than commits. The by-hand is writing WIP in the commit message. If that is an inconvenience then I’ll make a commit alias.

The index + commits is flexible enough. The stash concept is not needed for me.

See: https://news.ycombinator.com/item?id=39606525




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: