You are not logged in.

#1 2008-08-31 17:04:18

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Guide on how to set up a private Git repository?

I'm looking for a guide of some sort on how to set up a private remote Git repository. It has not been easy to find anything.

But I have come across a couple of guides.

First, Gitosis. Is Gitosis the way to go? It doesn't exist a PKGBUILD on it. And it seems a bit overkill for my private repository.
http://scie.nti.st/2007/11/14/hosting-g … secure-way

Second. The easy way.
http://www.rubynaut.net/articles/2008/0 … repository

Witch one? Any other solutions?

Last edited by orjanp (2008-09-03 07:34:36)


Ørjan Pettersen

Offline

#2 2008-09-02 07:01:50

WhiteMagic
Member
Registered: 2007-03-01
Posts: 85

Re: Guide on how to set up a private Git repository?

I never used gitosis, but as far as I know it is intended to set up larger git repositories and manage users and other stuff easier. If you're only going to use the repository for yourself, or only a very limited number of users it might be overkill.
I'm using a method similiar to the one described in the Rubynaut article, but I only use it for myself to share my code betwwen different pc's such that I don't need to have them all running in order to propagate changes.

Offline

#3 2008-09-02 07:55:43

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Guide on how to set up a private Git repository?

You can make it another directory on the server box, you can make it a different box and use ssh+git, you can setup webdav and use git+neon(dav), uhh... lots of ways to do it, but you need to first find out what you are looking for.

What do you actually want?


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#4 2008-09-03 07:30:05

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Guide on how to set up a private Git repository?

Yes, I thought gitosis was a bit to much.

I want a backup of my files at a different place that is not my laptop. And the possibility to fetch the files from a different computer if needed. And the version control.
And I don't want it to be public. I don't need a lot of users. And a minimum of security is preferable.

Last edited by orjanp (2008-09-03 07:34:15)


Ørjan Pettersen

Offline

#5 2008-09-12 11:01:41

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Guide on how to set up a private Git repository?


Ørjan Pettersen

Offline

Board footer

Powered by FluxBB