git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Identifying the commit ID from which a repo was cloned

From
Jjateeq <jawad_atiq@hotmail.com>
Date
Mar 15, 2010, 21:06 UTC
Message-ID
<27910384.post@talk.nabble.com>
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

-- 
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.
Next: Chris Packham
Message 1 of 2 in “Identifying the commit ID from which a repo was cloned”
  1. jateeqMar 15, 2010
  2. Chris PackhamMar 15, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.