Hacker News new | ask | show | jobs
by komali2 3591 days ago
Technically the same metaphor can be used for "commit" if we assume you stage the one thing and commit that one thing. Now look through the same workflow again but replace "stage" with "stage it and commit it."
1 comments

You can also use shelve in mercurial. I have never needed to use it on git though because of staging/cheap branches.