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

Re: Off-line deverloper workflow?

From
Johan Herland <johan@herland.net>
Date
Jun 27, 2013, 13:47 UTC
Message-ID
<CALKQrgfLxcNAcSg7QB7h4RVwqdE3+XojKwJ9zfcUrpJ6xnV+5g@mail.gmail.com>
In-Reply-To
<20130627134156.GB5047@zuhnb712>
On Thu, Jun 27, 2013 at 3:41 PM, Woody Wu <narkewoody@gmail.com> wrote:
Show 20 quoted lines
> On Thu, Jun 27, 2013 at 03:14:05PM +0200, Johan Herland wrote:
>> On Thu, Jun 27, 2013 at 2:46 PM, Woody Wu <narkewoody@gmail.com> wrote:
>> > I have a colleague who has to left our office for three month, but still
>> > need to work on the project which is hosted on our in-office git
>> > repository. Problem is that our company has firewall, it's not possible
>> > or not allowed to access the company LAN outside the building.  So I
>> > want to ask you expert, can you suggest a best practice of git workflow
>> > that suitable to my situation?
>>
>> If he can set up an SSH server on his machine (outside the company
>> network), then he can set up a mirror repo on his machine, where you
>> can push changes from the office to him, and pull changes from him
>> back into the office. Of course, you will probably need to synchronize
>> this with him, especially if he's travelling and frequently offline or
>> changing IP addresses. Also you need to be able to make outbound SSH
>> connections through the company firewall, but AFAICS that is usually
>> allowed.
>
> Outbound ssh to me is not a problem, but inbound ssh to him may be a big
> problem. You know hotel firewall or some home ADSL don't allow that.
In that case, you will need either:

A) A third machine, accessible from both you and him (preferably over SSH), where you can store the repo. I don't know what your company infrastructure looks like, but maybe it's possible to setup a server in the DMZ outside your company firewall?

B) Use a more manual mechanism like emailing bundles (as explained by Jean-Noël).

...Johan
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Woody WuNext: Jean-Noël Avila
Message 7 of 10 in “Off-line deverloper workflow?”
  1. Woody WuJun 27, 2013
  2. Fredrik GustafssonJun 27, 2013
  3. Tim ChaseJun 27, 2013
  4. Woody WuJun 27, 2013
  5. Johan HerlandJun 27, 2013
  6. Woody WuJun 27, 2013
  7. Johan HerlandJun 27, 2013
  8. Jean-Noël AvilaJun 27, 2013
  9. Woody WuJun 27, 2013
  10. Junio C HamanoJun 27, 2013

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.