* How to pull from windows box
@ 2012-08-16 13:11 J.V.
2012-08-16 16:28 ` Konstantin Khomoutov
0 siblings, 1 reply; 2+ messages in thread
From: J.V. @ 2012-08-16 13:11 UTC (permalink / raw)
To: git mailing list
We have a central/shared bare repo setup on a Linux box by our scc/build
team.
Each developer pulls/pushes to this repo. I have two windows boxes
where I have cloned the repo. I want to commit and then on my second
windows box pull from my other box and keep those in sync until it is
time to push to central.
What do I need to setup on each Windows 7 box to get this working?
J.V.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to pull from windows box
2012-08-16 13:11 How to pull from windows box J.V.
@ 2012-08-16 16:28 ` Konstantin Khomoutov
0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Khomoutov @ 2012-08-16 16:28 UTC (permalink / raw)
To: J.V.; +Cc: git mailing list
On Thu, 16 Aug 2012 07:11:28 -0600
"J.V." <jvsrvcs@gmail.com> wrote:
> We have a central/shared bare repo setup on a Linux box by our
> scc/build team.
>
> Each developer pulls/pushes to this repo. I have two windows boxes
> where I have cloned the repo. I want to commit and then on my second
> windows box pull from my other box and keep those in sync until it is
> time to push to central.
>
> What do I need to setup on each Windows 7 box to get this working?
Create a regular Windows share for the project directory on the box
you want to fetch from, ensure your user from another box is able to
successfully authenticate on that share, and then on that box add
the created share as a remote like this:
git remote add otherbox file:////thatbox/sharename
To fetch from that "otherbox" remote you then go like this:
1) Run Windows Explorer, navigate to \\thatbox\sharename,
authenticate (if needed). This will ensure all the next accesses
will be automatically authenticated.
2) Do `git fetch otherbox`.
Of course, you can just attach that share as a network drive and then
modify the URL for your remote accordingly.
Note that since the repos are normal (non-bare) this will work well only
for fetches (see the FAQ for more info).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-16 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16 13:11 How to pull from windows box J.V.
2012-08-16 16:28 ` Konstantin Khomoutov
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).