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

Re: basic question about push

From
Jeff King <peff@peff.net>
Date
Jan 24, 2010, 08:15 UTC
Message-ID
<20100124081513.GA10700@coredump.intra.peff.net>
In-Reply-To
<loom.20100124T074722-510@post.gmane.org>
On Sun, Jan 24, 2010 at 07:04:59AM +0000, Russ Paielli wrote:
> warning: updating the current branch         
> [...]
> What does this mean in English? And what is the correct way to transfer my
> revisions from my home computer to my work computer? Thanks.

It means your workflow will cause problems as the pusher magically changes your repository's concept of "the latest commit" behind the pushee's back. The workflow you want is described here:

  http://git.wiki.kernel.org/index.php/GitFaq#push-is-reverse-of-fetch
-Peff
Previous: Russ PaielliNext: Junio C Hamano
Message 2 of 6 in “basic question about push”
  1. Russ PaielliJan 24, 2010
  2. Jeff KingJan 24, 2010
  3. Junio C HamanoJan 24, 2010
  4. Jeff KingJan 25, 2010
  5. Jay SoffianJan 24, 2010
  6. Jeff KingJan 25, 2010

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.