git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Herland <johan@herland.net>
To: Woody Wu <narkewoody@gmail.com>
Cc: git <git@vger.kernel.org>
Subject: Re: Off-line deverloper workflow?
Date: Thu, 27 Jun 2013 15:14:05 +0200	[thread overview]
Message-ID: <CALKQrgdiRg--A4-cp7Y0c3-rc-gDX+QVgPxKDpmW5Exx_HeWHg@mail.gmail.com> (raw)
In-Reply-To: <20130627124656.GA2620@zuhnb712>

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.

His work repo is then a local clone of the mirror repo, and when he's
ready to publish some work to you, he pushes it to the mirror repo,
and asks you to pull from the mirror repo.

If the source code is not secret, you could even synchronize through
GitHub or some other repo hosting service, which would be even easier
to set up.


Hope this helps,

...Johan

> Thanks in advance.
>
> -woody
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Johan Herland, <johan@herland.net>
www.herland.net

  parent reply	other threads:[~2013-06-27 13:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27 12:46 Off-line deverloper workflow? Woody Wu
2013-06-27 12:58 ` Fredrik Gustafsson
2013-06-27 13:06 ` Tim Chase
2013-06-27 13:37   ` Woody Wu
2013-06-27 13:14 ` Johan Herland [this message]
2013-06-27 13:41   ` Woody Wu
2013-06-27 13:47     ` Johan Herland
2013-06-27 13:43 ` Jean-Noël Avila
2013-06-27 13:58   ` Woody Wu
2013-06-27 17:17   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALKQrgdiRg--A4-cp7Y0c3-rc-gDX+QVgPxKDpmW5Exx_HeWHg@mail.gmail.com \
    --to=johan@herland.net \
    --cc=git@vger.kernel.org \
    --cc=narkewoody@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).