vurgirl.blogg.se

Install github debian
Install github debian





You should get the follwoing similar result: Git config -global user.email first time you make a push to an empty repository it should be done this way

install github debian

To illiminate those messages do the following commands: NOTE: No need to worry about the lots of warning messages Warning: You appear to have cloned an empty repository. Working on the testrepo1 repo from martin’s desktop Never any need to go on the git server to create new repos. NOTE: with the ‘push’ gitolite on the git server will create the missing repositories automatically in the git server and assign their proper access rights. Git commit -am "added martin access to testrepo1 repo" Update the new config to the master git server RW+ = above configuration means:(RW+=Read Write Push) = Back to the gitadmin user’s desktop =Ĭonfiguring gitolite to allow martin to be able to read/write/push in testrepo1 repo Transfer martin’s ssh public key to the GIT serverĬat ~/.ssh/id_rsa.pub | ssh 'cat > ~/gitrepos/gitolite-admin/keydir/martin.pub' RW+ = martin Adding the first normal git user called ‘martin’ For user ‘martin’ you would have your ssh key file in keydir/martin.pub and in nf you have the following: IMPORTANT: Make sure the filename of ssh key matches the user in nf without the ‘.pub’Įg.

install github debian

~/gitrepos/gitolite-admin/conf/keydir/: directory that contains the ssh public keys files of git users ~/gitrepos/gitolite-admin/conf/nf: file and you will add users, privileges and projects/repos here Git clone descriptitons of the configuration files: = in your desktop linux as gitadmin user =Ĭlone the gitolite control repo into your local work space Transfer the git administrator’s public key to gitolite ~/.ssh/ directory in serverĬat ~/.ssh/id_rsa.pub | ssh 'cat > ~/.ssh/gitadmin.pub'

install github debian

(press the key as answer to every question)Ĭreate the GIT repositories base directory = in your desktop Linux as gitolite user =Ĭreate the gitadmin user as git administrator ssh directory to contain the remote client’s public keys STEPSĪpt-get install git-core python-setuptools gitoliteĬreate the. Then the magic happens immediately at the server side. All done via configuration files in a gitolite-admin repository which gets pulled from the master GIT server by the Gitolite admin user, modified and pushed back. Gitolite allows to control new creation of all new GIT repositories as well as who is allowed to work with which repository.

install github debian

This is a simple and step by step tutorial on how to install GIT server and Gitolite in Debian Squeeze.Since GIT has no authentication/authrization methods on its own Gitolite does fill in. Note: This tutorial is based on this very good site, thanks for the work:







Install github debian