Re: cache status after git pull

2005-08-25 Thread Junio C Hamano
"Luck, Tony" <[EMAIL PROTECTED]> writes: > 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. > >

RE: cache status after git pull

2005-08-25 Thread Luck, Tony
>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 >

Re: cache status after git pull

2005-08-25 Thread Junio C Hamano
[EMAIL PROTECTED] writes: > Aha ... is this the problem that caught me out last week (when > I ended up with 10 extra files attached to one of my commits)? Plausible. > 1) Updated my "linus" branch: > > $ git checkout linus && git pull linus I would assume that just after "git checkout linus"