Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I read through the other git questions here but couldn't really follow whether they are trying to do the same thing as I am. So if you find any duplicates, please let me know.

I have a central server with SSO installed. All my machines are connected through the lan to this server. I have also setup a remote git repository on this server. Now what I'd like to do is make the server act as a central repository. All my employees can commit their code to the server and the server pushes it to the remote git repository.

Can someone please help me out with this process? I am new to git and still learning how to use it effectively. So a step-by-step process or an existing document which I can refer to for this?

Also can I integrate it with SSO in any way?

Thanks.

share|improve this question
    
If you want a howto guide, please share with us your server O/S. Your first question begins with "Also", which begs the question, what is the first question? –  kmarsh May 4 '10 at 12:59
    
Edited the question. Sorry was a sloppy cut-paste which caused the confusion. Have added the server details in the comment to Niten's response. –  lostInTransit May 4 '10 at 13:32

2 Answers 2

up vote 4 down vote accepted

The Pro Git book, which is available free for online reading, has a great chapter on Git on the Server that should help clarify the options available and what you need to do to make them work.

share|improve this answer

What type of SSO are you using?

One possible route would be to use git's SSH transport between the workstations and your local server; when you use ssh:// rather than git://, your git server relies on SSH for authentication. This means you could potentially use any SSH or PAM compatible SSO technology (assuming a Unix/Linux server), or even just SSH public key authentication if that's good enough.

share|improve this answer
    
We have the server set up on a Mac. We are using Atlassian Crowd for the SSO implementation –  lostInTransit May 4 '10 at 13:29
    
Any help on this Niten? Thanks. –  lostInTransit May 6 '10 at 8:49
    
Sorry, I took a quick look at Atlassian and (unless I've missed something) it doesn't actually seem to support PAM. If that's correct, then my idea above is bunk. –  Niten May 8 '10 at 1:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.