5 ms·
Not the parent but I'm using it to stage sections of the file and then revert everything that is not staged. For example all logging statements. Or use staging
by ktt 10y ago
Not the parent but I'm using it to stage sections of the file and then revert everything that is not staged. For example all logging statements.
Or use staging as a mini commit. It's sometimes easier to look at the diff and stage what you consider to be working code without introducing commits. That of course could also be done with committing and then squashing but that's more work :)
- krupan 10y agoor committing and amending that commit, which is really no extra work