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

GIT and the current -stable

From
RHRene Herman <rene.herman@gmail.com>
Date
Apr 14, 2007, 05:36 UTC
Message-ID
<46206842.80203@gmail.com>
Good day.
Stumbling around with git here. I'd like to use git to efficiently track the 
  current -stable as well as -current. Say, my local tree is a clone of 
Linus current:

git clone \ git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git local

I then branch off a 2.6.20 branch:

cd local git checkout -b v2.6.20 v2.6.20

to now update to the current -stable I could do:

git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.20.y.git

each time that a new -stable is released. Rather though, I'd like a simple "git pull" to do this while on this branch while a "git pull" while back on the master branch pulls from the originally cloned Linus repo again.

Is this possible? Do I want it to be? Comments like "work like this instead" welcome as well; figuring out what the heck it is that I want from git seems to be one of the most difficult questions to answer...

Currently using git 1.5.0.4.
Rene.
Next: Junio C Hamano
Message 1 of 16 in “GIT and the current -stable”
  1. Rene HermanApr 14, 2007
  2. Junio C HamanoApr 14, 2007
  3. Rene HermanApr 14, 2007
  4. Greg KHApr 14, 2007
  5. Linus TorvaldsApr 14, 2007
  6. Gerb StralkoApr 14, 2007
  7. Chris WrightApr 14, 2007
  8. Rene HermanApr 14, 2007
  9. Rene HermanApr 14, 2007
  10. Julian PhillipsApr 15, 2007
  11. Brian GernhardtApr 14, 2007
  12. Chris WrightApr 14, 2007
  13. Brian GernhardtApr 14, 2007
  14. Chris WrightApr 14, 2007
  15. Julian PhillipsApr 14, 2007
  16. Uwe Kleine-KönigApr 14, 2007

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.