From: Matthieu Moy Date: Fri, 27 Mar 2009 13:45:43 GMT Subject: Re: On git 1.6 (novice's opinion) Message-ID: In-Reply-To: <49CCE520.17260.2586E134@Ulrich.Windl.rkdvmks1.ngate.uni-regensburg.de> "Ulrich Windl" writes: > Hi! > > AFAIK, "committing" in git is "kind of publishing your work" It's not. It's "take a snapshot". Publish is "push" (to a public place). > (others may pull it). I don't like publishing my mistakes ;-) Even > if no-one pulls the commit, your "undo" refers to "committing a fix > for the last committed mistake", right? Again, I don't really want > to document/archive (i.e. commit) my mistake. Or did I miss > something here? git commit --amend git reset HEAD^ and friends (to uncommit something) -- Matthieu