I would like to set a Git server and let my developers login using username and password in order to commit and make changes to the projects. I need also to manage developer access to projects (I think I should use gitolite for this).
How can I do that?
I am used to Subversion which is easy because you can set username and password for each developer, which can easily access the repository without having the generate an SSH key and put it on the server.
On Unix/Linux, just create a new directory on your server for your git project (naming convention is that folder names should end with .git). Then initialize the directory with:
git init --bare
Now you have an empty git main repo. Users can clone this repo from your server with:
git clone username@hostname:/path/to/git/folder
(password will be asked for)
Use Unix/Linux user administration tool to manage your developer access.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments