Re: On git 1.6 (novice's opinion)
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Mar 27, 2009, 13:45 UTC
- Message-ID
- <vpq1vsjdqpk.fsf@bauges.imag.fr>
- In-Reply-To
- <49CCE520.17260.2586E134@Ulrich.Windl.rkdvmks1.ngate.uni-regensburg.de>
"Ulrich Windl" <ulrich.windl@rz.uni-regensburg.de> 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).
Show 5 quoted lines
> (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