3 ms·
staging is wonderful. I'm sure hg must have something similar. I can't tell you how many times I've shot myself in the foot accidentally committing stuff to s
by DigitalJack 11y ago
staging is wonderful. I'm sure hg must have something similar.
I can't tell you how many times I've shot myself in the foot accidentally committing stuff to svn when I just meant a single file.
- reinhardt 11y agoI don't use hg much these days but you can just pass the file(s) you want to commit to 'hg commit'; no need for staging. Even better, hg (or its shell integration at any rate) has tab completion so it's easy to go though the modified files and pick those you wanted to commit. I kinda miss this now I'm working with git mostly.
- skybrian 11y agoDo you know about commit --amend? Seems like having both is redundant.