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

Re: cache status after git pull

From
Junio C Hamano <junkio@cox.net>
Date
Aug 26, 2005, 01:29 UTC
Message-ID
<7vll2pmqnu.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<B8E391BBE9FE384DAA4C5C003888BE6F043B9B85@scsmsx401.amr.corp.intel.com>
"Luck, Tony" <tony.luck@intel.com> writes:
Show 7 quoted lines
> 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,...

At least that is how "git fetch <repo> <src>:<dst>" is designed to work, and "Pull: <src>:<dst>" in a remotes/ shorthand is designed to reduce typing while doing so. Please bug me if things do not work as advertised.

Previous: Junio C Hamano
Message 5 of 5 in “RE: cache status after git pull”
  1. Luck, TonyAug 25, 2005
  2. Fix pulling into the same branch.Junio C Hamano, Aug 26, 2005
  3. Johannes SchindelinAug 26, 2005
  4. Junio C HamanoAug 26, 2005
  5. Junio C HamanoAug 26, 2005

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.