From: Howard Miller <howard@e-learndesign.co.uk>
To: Avery Pennarun <apenwarr@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Mysterious junk in file.... "not commited yet"
Date: Mon, 5 Apr 2010 20:03:11 +0100 [thread overview]
Message-ID: <p2y26ae428a1004051203jbb7c838eh8de0cb5f6ae1dcb1@mail.gmail.com> (raw)
In-Reply-To: <o2n32541b131004051152ie6c82b3wdab0f38a9e657943@mail.gmail.com>
>
> You might have 'git add'ed the changed line. Try this:
>
> git checkout HEAD -- <filename>
>
> Have fun,
>
> Avery
>
Hmmm... fixed. I've never even heard of 'git add' before. Why is this
different to plain old 'checkout' without the HEAD?
Anyway... thanks. Day saved :)
next prev parent reply other threads:[~2010-04-05 19:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-05 18:13 Mysterious junk in file.... "not commited yet" Howard Miller
2010-04-05 18:52 ` Avery Pennarun
2010-04-05 19:03 ` Howard Miller [this message]
2010-04-05 19:13 ` Avery Pennarun
2010-04-05 19:24 ` Matthieu Moy
2010-04-05 19:29 ` Howard Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=p2y26ae428a1004051203jbb7c838eh8de0cb5f6ae1dcb1@mail.gmail.com \
--to=howard@e-learndesign.co.uk \
--cc=apenwarr@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).