简体   繁体   中英

Setting up a git repository on a server

I had posted this question on superuser but didn't get a helpful response. Thought I'd try here since the question does deal with some configurations and settings for using github.

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?

The server itself is setup on a Mac and SSO uses Atlassian Crowd.

Thanks.

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. I would recommend a careful review of the chapter before you decide on servers, protocols, etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM