Re: Commit only some changes



On Fri, Nov 20, 2009 at 03:28:04PM +0100, Vincent Legoll wrote:
> 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?
> 
> 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.

Can you explain this again please? I was looking for how to do this with
meld and git, but I'm not following your explanation.

When I use "git stash" my changes get hidden, and I can't use meld to get
part of them back or to revert part of them...  or can I? How do you do
this?


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