On Fri, 14 Jun 2013 10:26:52 -0500 Deanna Delapasse <[email protected]> wrote:
> I started with this approach yesterday. I tried this: > git clone https://acct:[email protected]/....git > > ... i edited a file just to see what would happen > > git checkout <hashcodeOfPriorCommit> > > But git did NOT overwrite the file that I manually changed. Why was > that? FYI, this won't happen in 'real life" but I was trying to > convince myself that the checkout would work. One thing I forgot to mention, is that it's pretty easy to reset the work tree after a checkout to discard all local changes by either doing git reset --hard or git checkout -- . (the dot is significant -- it means the current directory). -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
