Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #208733
| From | Brad Rogers <brad@fineby.me.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: using git locally |
| Date | 2019-05-17 16:10 +0200 |
| Message-ID | <xYLIC-rj-11@gated-at.bofh.it> (permalink) |
| References | <xYLfz-8tk-7@gated-at.bofh.it> <xYLfz-8tk-5@gated-at.bofh.it> |
| Organization | Catch 22 |
[Multipart message — attachments visible in raw view] - view raw
On Fri, 17 May 2019 14:36:36 +0100
mick crane <mick.crane@gmail.com> wrote:
Hello mick,
>Is it ssh:// that is wrong or I've failed to get the syntax right for
>git ?
I'm no expert on git, so ask me questions - I probably won't be able to
answer them anyway. :-)
That said, this might help:-
https://stackoverflow.com/questions/28827831/how-to-setup-git-on-local-network
The relevant part appears to be:
---------Quote---------------------------
Basically, you'll want to use git daemon. If you just need to set up a
single repository, that's one line from each machine:
Server:
git daemon --base-path=/path/to/repo --export-all
Client:
git remote add LocalServerName git://<serveraddress>/
where <serveraddress> is some reference to that machine (IPv4, IPv6,
.local, etc.). You can also specify --verbose for the daemon command for
more detailed output.
I think, also, you could have --base-path point to a folder with many
repositories, and that would let you specify which project you wanted on
the client-side like so:
git daemon --base-path=/path/to/all/repos
git remote add ServerName git://<serveraddress>/MyProject/
Be advised: using --export-all will let any computer on the network pull
from your repo.
-----------End Quote---------------------
--
Regards _
/ ) "The blindingly obvious is
/ _)rad never immediately apparent"
Everything in life should be free, except the bits that belong to me
Selfish Rubbish - Public Image Ltd
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
using git locally mick crane <mick.crane@gmail.com> - 2019-05-17 15:40 +0200
Re: using git locally Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-17 16:00 +0200
Re: using git locally mick crane <mick.crane@gmail.com> - 2019-05-17 16:40 +0200
Re: using git locally Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2019-05-17 17:00 +0200
Re: using git locally Jude DaShiell <jdashiel@panix.com> - 2019-05-17 17:40 +0200
Re: using git locally mick crane <mick.crane@gmail.com> - 2019-05-17 20:10 +0200
Re: using git locally Brad Rogers <brad@fineby.me.uk> - 2019-05-17 16:10 +0200
Re: using git locally mick crane <mick.crane@gmail.com> - 2019-05-17 17:30 +0200
csiph-web