Skip to contentSkip to conversation

Identifying the commit ID from which a repo was cloned

DISCUSSION jateeq 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

jateeq

author
#0 lore raw

Hello,

Once I clone, make changes and commit several times, I need to determine how many commits were made (and list them) since the repository was cloned. Does git remember this commit, and is there a command that can do this, or do I have to store the commit ID when i clone?

Thank you,
Jawad

Signature · 2 lines
View this message in context: http://old.nabble.com/Identifying-the-commit-ID-from-which-a-repo-was-cloned-tp27910384p27910384.html
Sent from the git mailing list archive at Nabble.com.
#1 lore raw
Quoted 8 lines · jateeq

Hello,

Once I clone, make changes and commit several times, I need to determine how many commits were made (and list them) since the repository was cloned. Does git remember this commit, and is there a command that can do this, or do I have to store the commit ID when i clone?

Quoted 7 lines

Thank you,
Jawad
--
View this message in context: http://old.nabble.com/Identifying-the-commit-ID-from-which-a-repo-was-cloned-tp27910384p27910384.html
Sent from the git mailing list archive at Nabble.com.

--

The origin/master reference is what you need. Pretty much the same answer as one of your other questions
http://article.gmane.org/gmane.comp.version-control.git/141414