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

Re: Working from different machines.

From
Jacob Keller <jacob.keller@gmail.com>
Date
Aug 18, 2016, 06:10 UTC
Message-ID
<CA+P7+xpCWF9scST4bPYy61=6R8Givaw01DT7r4gOfk+shwWSYg@mail.gmail.com>
In-Reply-To
<xmqq4m6j81ci.fsf@gitster.mtv.corp.google.com>
On Wed, Aug 17, 2016 at 3:41 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> If the answer is "yes", then you are in the problem space that
> Git-the-tool is interested in solving.  Assuming that you have
> network connection into 'desktop' from 'home', the solution would
> involve making it the first thing to do when get home to run "git
> fetch" on 'home' to get the latest state from the 'desktop', and run
> "git push" on 'home' to push out the latest state to the 'desktop'
> before you leave 'home'.  If your 'server' is for your sole use, and
> if 'home' has network connection into 'server', then you could
> instead rendezvous at 'server' by running "git push server" on
> 'desktop' (or 'home') to 'server' as the last thing before you leave
> 'desktop' (or 'home'), and running "git fetch server" on 'home' (or
> 'desktop') as the first thing before you start working on 'home' (or
> 'desktop').
>
>

To add to this, you may need to modify the "git push" portion of the phases and the "git fetch" potion to include all the branches you are interested in.

Thanks, Jake

Previous: Junio C HamanoNext: Jakub Narębski
Message 3 of 7 in “Working from different machines.”
  1. TobiahAug 17, 2016
  2. Junio C HamanoAug 17, 2016
  3. Jacob KellerAug 18, 2016
  4. Jakub NarębskiAug 18, 2016
  5. TobiahAug 18, 2016
  6. Jakub NarębskiAug 18, 2016
  7. TobiahAug 18, 2016

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.