git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to query the version of a file?
@ 2010-08-25  6:33 Edmond Halley
  2010-08-25 13:27 ` Todd A. Jacobs
  2010-09-28 10:49 ` sandy2010
  0 siblings, 2 replies; 5+ messages in thread
From: Edmond Halley @ 2010-08-25  6:33 UTC (permalink / raw)
  To: git

Hi,

I have a standalone repository.
File a.cpp has 3 versions.
For example, I checked out version2(HEAD^).
> git checkout HEAD^ a.cpp
After a few days, I forget which version I have checked out.
Is there a git command that can query which version is checked out?
"git status" will show there is "changes to be committed", but with no
the version information.
Thank you!

Best regards,
Halley

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

end of thread, other threads:[~2010-09-28 11:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-25  6:33 How to query the version of a file? Edmond Halley
2010-08-25 13:27 ` Todd A. Jacobs
2010-09-28 10:49 ` sandy2010
2010-09-28 11:19   ` Michael J Gruber
2010-09-28 11:26   ` Pascal Obry

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).