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

Identifying the branch a clone was cloned from

From
Jjateeq <jawad_atiq@hotmail.com>
Date
Mar 2, 2010, 21:45 UTC
Message-ID
<27761617.post@talk.nabble.com>
Hey guys,

I have a repository with over 10 branches. I clone from branch 2, and some time after the operation I need to find out what branch in the remote I cloned from. Anyone know the command for that?

Thank you, Jawad.

-- 
View this message in context: http://old.nabble.com/Identifying-the-branch-a-clone-was-cloned-from-tp27761617p27761617.html
Sent from the git mailing list archive at Nabble.com.
Next: Santi Béjar
Message 1 of 2 in “Identifying the branch a clone was cloned from”
  1. jateeqMar 2, 2010
  2. Santi BéjarMar 2, 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.