{"thread":{"id":"23029","subject":"Identifying the commit ID from which a repo was cloned","startedAt":"2010-03-15T21:06:23Z","lastAt":"2010-03-15T22:32:07Z","messageCount":2,"participants":["jateeq","Chris Packham"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"136872","messageId":"27910384.post@talk.nabble.com","threadId":"23029","inReplyTo":null,"subject":"Identifying the commit ID from which a repo was cloned","fromName":"jateeq","fromEmail":"jawad_atiq@hotmail.com","sentAt":"2010-03-15T21:06:23Z","receivedAt":"2010-03-15T21:06:23Z","isPatch":false,"sender":{"key":"jawad_atiq@hotmail.com","avatar":null},"body":"\nHello,\n\nOnce I clone, make changes and commit several times, I need to determine how\nmany commits were made (and list them) since the repository was cloned. Does\ngit remember this commit, and is there a command that can do this, or do I\nhave to store the commit ID when i clone? \n\nThank you,\nJawad\n-- \nView this message in context: http://old.nabble.com/Identifying-the-commit-ID-from-which-a-repo-was-cloned-tp27910384p27910384.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"136889","messageId":"a038bef51003151532n320e7c1oeabfcb7da124f391@mail.gmail.com","threadId":"23029","inReplyTo":"27910384.post@talk.nabble.com","subject":"Re: Identifying the commit ID from which a repo was cloned","fromName":"Chris Packham","fromEmail":"judge.packham@gmail.com","sentAt":"2010-03-15T22:32:07Z","receivedAt":"2010-03-15T22:32:07Z","isPatch":false,"sender":{"key":"judge.packham@gmail.com","avatar":"https://avatars.githubusercontent.com/u/155667?v=4"},"body":"On Mon, Mar 15, 2010 at 2:06 PM, jateeq <jawad_atiq@hotmail.com> wrote:\n>\n> Hello,\n>\n> Once I clone, make changes and commit several times, I need to determine how\n> many commits were made (and list them) since the repository was cloned. Does\n> git remember this commit, and is there a command that can do this, or do I\n> have to store the commit ID when i clone?\n>\n> Thank you,\n> Jawad\n> --\n> View this message in context: http://old.nabble.com/Identifying-the-commit-ID-from-which-a-repo-was-cloned-tp27910384p27910384.html\n> Sent from the git mailing list archive at Nabble.com.\n>\n> --\n\nThe origin/master reference is what you need. Pretty much the same\nanswer as one of your other questions\nhttp://article.gmane.org/gmane.comp.version-control.git/141414\n"}]}