LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   setting up a git repository on my debian/ubuntu server? (https://www.linuxquestions.org/questions/linux-software-2/setting-up-a-git-repository-on-my-debian-ubuntu-server-883404/)

sneakyimp 05-29-2011 06:26 PM

setting up a git repository on my debian/ubuntu server?
 
I've worked with svn as a version control system. I like how it's possible to get context-sensitive svn commands within Eclipse via Subclipse or some other plugin. I know how to set it up both client-side and on an apache server.

Thanks largely to this article, I'm contemplating a switch to git. I don't really know what components are needed to get this set up for my team and would appreciate any answers to these questions:
1) Does it require a centralized server and/or apache mod to host a master repository? I understand that git is distributed/decentralized but am a bit confused about what this means in practice. I did find this article describing how to host a git repository via http. Ideally, our central/master repository would be accessible via some kind of GUI git client as well as the command line.

2) Can anyone recommend a good PHP IDE / git client combination? I'm partial to Eclipse myself because it's free, i know it, and it has an eGit plug in which, although still in early development, appears to function mostly as expected.

3) Any additional comments/anecdotes/thoughts about how I might host a git repository and make it accessible only to my team of devs would be much appreciated.

j1alu 05-30-2011 05:51 AM

Quote:

3) Any additional comments/anecdotes/thoughts about how I might host a git repository and make it accessible only to my team of devs would be much appreciated.
i am far from understanding git, but you might check the docu of https://github.com/
It is good and usually helps me.
Else check http://www.kernel.org/pub/software/s....html#id370653

Might well be this will help you set up a git-repo and share it with your team-devs (only?) :
http://wiki.debian.org/UsingGit
(the section "Practice creating a repository")


perhaps try this too:
http://andyjeffries.co.uk/articles/2...iate-git-users
i think it contains some tips

sneakyimp 05-30-2011 01:44 PM

Great links, thanks. I'm not too concerned about using git client-side, I'm still confused about the best way to set up a centralized *server* so that my dev team can commit their changes from their desktops/laptops to my centralized server. I cannot use gitHub due to security requirements of this project.

I managed to find these links:
git install how-to:
http://www.howtoforge.com/how-to-ins...-debian-server

Git tutorial for adding code, etc.:
http://www.kernel.org/pub/software/s...ttutorial.html

tutorials on git setup:
http://jfcouture.com/2008/01/20/how-...-a-git-server/
http://scie.nti.st/2007/11/14/hostin...and-secure-way

via http:
http://www.kernel.org/pub/software/s...-over-http.txt


All times are GMT -5. The time now is 06:23 AM.