Re: How to query the version of a file?
On Tue, Sep 28, 2010 at 12:49 PM, sandy2010 <sandeeptt@yahoo.com> wrote:
> I do not see the reply to this thread. I'm unable to find how to find the
> version of a checked out file? Also, how do I view an older version?
No response probably because there is no notion of version of a file in Git.
Each commit is uniquely identified (SHA-1). A file is part of a commit.
I would recommend to read some Git tutorials, books that can be found on the Web. See Git wiki, or the online Pro Git book:
http://progit.org/book/
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595