Re: Commit only some changes
- From: Vincent Legoll <vincent legoll gmail com>
- To: Leif Gruenwoldt <leifer gmail com>
- Cc: meld-list gnome org
- Subject: Re: Commit only some changes
- Date: Fri, 20 Nov 2009 15:28:04 +0100
On Thu, Nov 19, 2009 at 8:24 PM, Leif Gruenwoldt <leifer gmail com> wrote:
> Often I make several changes to a file but only want to commit part of
> those changes. Is there a way to pick which changes to commit with
> Meld?
Not directly, but this could be an interesting addition,
and probably not too hard to implement...
With git, what I do is use "git stash" before using meld to undo
the unwanted changes, commit the pieces I want, and then
use "git stash apply" to get back the other pieces back in.
With other scm I did the equivalent by hand, i.e. copy the current
files, undo unwanted modifs before comitting then checkout and
overwrite with backup, A lot more painful if you have a lot of modified
files...
--
Vincent Legoll
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]