[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git uncleaned history
From: |
Johannes Schindelin |
Subject: |
Re: git uncleaned history |
Date: |
Thu, 4 Sep 2008 17:56:19 +0200 (CEST) |
User-agent: |
Alpine 1.00 (DEB 882 2007-12-20) |
Hi,
On Thu, 4 Sep 2008, Till Rettig wrote:
> Johannes Schindelin schrieb:
> > You mean "git reset --hard"? That resets _all_ files. _And_ the
> > staging area.
>
> Guess I meant that one -- I had sometimes problems with wrong commits
> that I didn't get reset somehow. As I understand, if I do a commit and
> revert it, there is another commit doing the revert.
Correct. "git revert" is meant to revert a single commit which is not
necessarily the latest one.
Ciao,
Dscho