On Fri, 14 Jun 2013 10:26:52 -0500
Deanna Delapasse <ddelapa...@gmail.com> wrote:
> I started with this approach yesterday. I tried this:
> git clone https://acct:p...@gethub.com/....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
git reset --hard
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
For more options, visit https://groups.google.com/groups/opt_out.