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

Symbolic 'references' in Git?

From
CPChris Patti <cpatti@gmail.com>
Date
Apr 14, 2011, 20:30 UTC
Message-ID
<BANLkTinV8niLibzOQRVraYqwB0hKW1=r1w@mail.gmail.com>
Folks;

We want a way to have our Bamboo configuration utilize a symbol to refer to 'latest release' 'latest patch' etc. in Git, rather than having to go in and change the actual branch name every time we ship a release and create a new one.

We thought about using something like:

git symbolic-ref -m'new next-release branch build for Bamboo' next-release release-3.15

However, this symbolic ref is only local to one repository, and we want it to be global across all of Bamboo.

Rather than resorting to manually copying the symbolic ref file around, from repo to repo, is there any way to make such a symbolic 'variable' global?

Thanks! -Chris

-- 
Christopher Patti - Geek At Large | GTalk: cpatti@gmail.com | AIM:
chrisfeohpatti | P: (260) 54PATTI
"Technology challenges art, art inspires technology." - John Lasseter, Pixar
Next: Wesley J. Landaker
Message 1 of 7 in “Symbolic 'references' in Git?”
  1. Chris PattiApr 14, 2011
  2. Wesley J. LandakerApr 14, 2011
  3. Chris PattiApr 14, 2011
  4. Jeff KingApr 14, 2011
  5. Wesley J. LandakerApr 14, 2011
  6. Junio C HamanoApr 14, 2011
  7. Michael J GruberApr 15, 2011

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.