* committing only selected diff's of a file
@ 2007-12-03 10:03 Erik Colson
2007-12-03 11:07 ` Miklos Vajna
2007-12-03 11:09 ` Jakub Narebski
0 siblings, 2 replies; 4+ messages in thread
From: Erik Colson @ 2007-12-03 10:03 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: committing only selected diff's of a file
2007-12-03 10:03 committing only selected diff's of a file Erik Colson
@ 2007-12-03 11:07 ` Miklos Vajna
2007-12-03 11:09 ` Jakub Narebski
1 sibling, 0 replies; 4+ messages in thread
From: Miklos Vajna @ 2007-12-03 11:07 UTC (permalink / raw)
To: Erik Colson; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
On Mon, Dec 03, 2007 at 11:03:17AM +0100, Erik Colson <eco@ecocode.net>
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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: committing only selected diff's of a file
2007-12-03 10:03 committing only selected diff's of a file Erik Colson
2007-12-03 11:07 ` Miklos Vajna
@ 2007-12-03 11:09 ` Jakub Narebski
2007-12-03 16:00 ` Matthieu Moy
1 sibling, 1 reply; 4+ messages in thread
From: Jakub Narebski @ 2007-12-03 11:09 UTC (permalink / raw)
To: Erik Colson; +Cc: git
Erik Colson <eco@ecocode.net> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: committing only selected diff's of a file
2007-12-03 11:09 ` Jakub Narebski
@ 2007-12-03 16:00 ` Matthieu Moy
0 siblings, 0 replies; 4+ messages in thread
From: Matthieu Moy @ 2007-12-03 16:00 UTC (permalink / raw)
To: Jakub Narebski; +Cc: Erik Colson, git
Jakub Narebski <jnareb@gmail.com> writes:
> "git gui" (the latter requires Tcl/Tk).
... Right click on a patch hunk, "stage for commit".
--
Matthieu
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-03 16:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-03 10:03 committing only selected diff's of a file Erik Colson
2007-12-03 11:07 ` Miklos Vajna
2007-12-03 11:09 ` Jakub Narebski
2007-12-03 16:00 ` Matthieu Moy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox