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

Getting a branch's time of creation

From
Jjateeq <jawad_atiq@hotmail.com>
Date
Mar 17, 2010, 14:45 UTC
Message-ID
<27933166.post@talk.nabble.com>
Hello,

I am trying to find the time at which a remote branch was created, so that I can use the '--since' option in git log to limit the commits to only ones that were created for that branch (read below to see why I can't use 'git log <branchnname>). So my question: does git remember the time at which a branch was created, and how can it be listed?

NOTE: Once I clone a repository that contains Branch1 (which will have its
own commits as well as commits from the master branch), I create Branch2 in
the clone to track Branch1. Branch1 will have commits before the cloning,
and Branch2 will have its own commits after the cloning, but I want to list
both. The way I am thinking of doing it is to list all commits for Branch2,
and then limit the commits to only ones that were created after Branch1 was
created.

If anyone has suggestions on doing this alternatively, feel free to pitch in. Thank you. Jawad.

-- 
View this message in context: http://old.nabble.com/Getting-a-branch%27s-time-of-creation-tp27933166p27933166.html
Sent from the git mailing list archive at Nabble.com.
Next: Randal L. Schwartz
Message 1 of 4 in “Getting a branch's time of creation”
  1. jateeqMar 17, 2010
  2. Randal L. SchwartzMar 17, 2010
  3. jateeqMar 17, 2010
  4. Jakub NarebskiMar 19, 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.