Hello,
Does Git allow to commit only selected patches from inside 1 file ?
I'm coming from a darcs world where this is supported...
Probably it is supported in Git too, but I can't figure out how :-/
Thanks for help
--
Erik
On Mon, Dec 03, 2007 at 11:03:17AM +0100, Erik Colson [off-list ref]
wrote:
Does Git allow to commit only selected patches from inside 1 file ?
I'm coming from a darcs world where this is supported...
Probably it is supported in Git too, but I can't figure out how :-/
git add -i
(i also wrote a wrapper for people who come from darcs:
http://git.frugalware.org/repos/pacman-tools/darcs-git.py
but it contains many hacks so i don't want to advertise it too much as
others on this list will burn me :) )
- VMiklos
Erik Colson [off-list ref] writes:
Does Git allow to commit only selected patches from inside 1 file ?
I'm coming from a darcs world where this is supported...
Probably it is supported in Git too, but I can't figure out how :-/
Use "git add --interactive" or "git gui" (the latter requires Tcl/Tk).
--
Jakub Narebski