Re: What's The Right Way to Do This?
- From
Michael Witten <mfwitten@gmail.com>
- Date
- Sep 23, 2011, 05:08 UTC
- Message-ID
- <CAMOZ1BtTi7GxwTvPTEtHoV-GspAZKJiLauXfkwBFJk+RZJT_7A@mail.gmail.com>
- In-Reply-To
- <loom.20110923T064720-366@post.gmane.org>
On Fri, Sep 23, 2011 at 04:48, Jon Forrest <nobozo@gmail.com> wrote:
Show 5 quoted lines
> ... So, I tried to revert using various methods I found by > googling "git revert"... > ... > ...this experience left me wondering what I should have > done in the first place.
What you should have done in the first place is RTFM; while not fantastic, there is a decent amount of official git documentation.
Show 5 quoted lines
> What happened was that when I tried to revert back to the > commit before the one I made, the files I had modified > *and* the files that apparently were modified by other > people in #3 above were reverted. This wasn't what > I wanted. I only wanted to revert the changes I had made.
It would be a good idea to reproduce the unexpected behavior you are experiencing by means of a minimal set of commands that you can post here for others to try.
> With the help of someone more experienced than me we were > able to get things back to normal... There's a chance I'm > going to have to go through all this again as I try to fix > the problem with my changes.
Why don't you ask that person about it?