git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* reverting vs resetting
@ 2010-02-05  6:12 Mihamina Rakotomandimby
  2010-02-05  6:48 ` Avery Pennarun
  0 siblings, 1 reply; 5+ messages in thread
From: Mihamina Rakotomandimby @ 2010-02-05  6:12 UTC (permalink / raw)
  To: Git Mailing List

Manao ahoana, Hello, Bonjour,

We put a gateway iptables script (SNAT, DNAT,...) under GIT.

Someone (Bob) made a mistake on it, but he did not know. That broke the
gateway.

Another one (Andy), did not try to undo Bob's mistake but tried (and
tried, and tried... always committing) to solve the problem. Andy made
about 50 commits.

When we decided to giveup, we decided to get back to the configuration
before Bob broke it. But it would be interesting to see Andy's history.

Reverting or resetting?

As far as I know: 
- Reverting Bob's commit will only cancel Bob's mistake but not Andy's
  tries to solve it.
- Resetting will forget the history.

Any suggestion?

Misaotra, Thanks, Merci.

-- 
       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                +261 34 29 155 34 / +261 33 11 207 36

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-05 11:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05  6:12 reverting vs resetting Mihamina Rakotomandimby
2010-02-05  6:48 ` Avery Pennarun
2010-02-05  7:09   ` Junio C Hamano
2010-02-05  8:41     ` Matthieu Moy
2010-02-05 11:21       ` Mihamina Rakotomandimby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).