Re: merging multiple commit into one?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Heiko Voigt
Date: Monday, May 11, 2009 - 2:29 pm

On Mon, May 11, 2009 at 03:21:27PM +0200, jean-luc malet wrote:

If you just want to get rid of the last commit

  git reset HEAD^

will remove the commit but keep your working directory untouched. In
such a workflow I find it easier to start the new commit from zero than
from the stashed stuff.

By the way. You might also take a look at the command

  git stash

which is especially crafted for saving work in progress.

cheers Heiko
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
merging multiple commit into one?, jean-luc malet, (Mon May 11, 6:21 am)
Re: merging multiple commit into one?, Andreas Ericsson, (Mon May 11, 6:31 am)
Re: merging multiple commit into one?, Jakub Narebski, (Mon May 11, 6:50 am)
Re: merging multiple commit into one?, Heiko Voigt, (Mon May 11, 2:29 pm)
Re: merging multiple commit into one?, MALET Jean-Luc, (Mon May 11, 3:11 pm)
Re: merging multiple commit into one?, MALET Jean-Luc, (Mon May 11, 3:11 pm)
Re: merging multiple commit into one?, Jakub Narebski, (Mon May 11, 3:36 pm)
Re: merging multiple commit into one?, Heiko Voigt, (Tue May 12, 8:53 am)
Re: merging multiple commit into one?, jean-luc malet, (Tue May 12, 8:59 am)
Re: merging multiple commit into one?, Markus Heidelberg, (Tue May 12, 1:37 pm)