From: Luck, Tony Date: Thu, 25 Aug 2005 20:46:22 GMT Subject: RE: cache status after git pull Message-ID: >To set up "linus" short-hand to be updated with "master" branch >head from Linus, you would do one of the following: > > * Using new style shorthand > > $ cat >$GIT_DIR/remotes/linus \ > URL: http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ > Pull: master:linus > $ git fetch linus This sounds like it does what I want ... so I'd like to confirm before wiring this into my scripts and fingers. What I want is to get the latest from kernel.org...linus...master and update my .refs/heads/linus with the new SHA1. I'd like to be able to do that without touching what is in my index, and without changing the state of any checked out files. If that is what the above does, then you are my hero for today :-) -Tony