JP Vossen on 21 Nov 2017 08:57:27 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Turns out Hg can do 'git add -p' too


Last night I said that only git can do the very handy 'git add -p' thing to break out the 5 changes you made (how code really gets written) into 5 logical commits. It turns out I was wrong, Hg can do it too:
* https://stackoverflow.com/a/7767133
* https://www.mercurial-scm.org/wiki/GitConcepts#Git.27s_staging_area).

And BZR has a plugin, but it doesn't seem to be official, or in the repos and such. I created a wish-list item for Breezy (the new fork of BZR):
* BZR https://bugs.launchpad.net/bzr/+bug/307285
* https://code.launchpad.net/~asabil/bzr-interactive/trunk
* BRZ https://bugs.launchpad.net/brz/+bug/1733643

I've updated my slides too, https://www.jpsdomain.org/public/Revision_Control_for_the_Rest_of_Us.pdf or .odf.

Later,
JP
--  -------------------------------------------------------------------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug