3 ms·
> Edit: When using `git add -p` you can even use 'e' command to manually edit your patch. This is not something specific to git. Also, this example as a whole
by gkya 13y ago
> Edit: When using `git add -p` you can even use 'e' command to manually edit your patch.
This is not something specific to git. Also, this example as a whole is nowhere near an improvement over an hg + mq workflow:
1. `hg qinit; hg qnew refactoring' to add a patchset
2. Make changes, add to patch with `hg qrefresh'
3. Run tests, if tests fail, pop a patch from the queue with `hg qpop'
4. Repeat until everything is fine, then `hg qfinish' to commit the patch to the history.