Se up a Git server with gitosis

The instructions i used can be found at scie.nti.st.

If you use Debian or Ubuntu you can install git and gitosis like:
apt-get install git gitosis

Everything works fine but i could not check out the repo with another user because of this warning:
“git Warning: remote HEAD refers to nonexistent ref, unable to checkout”

Found the solution on stackoverlow:
just do git config push.default current at the original source and the clone/checkout works fine!

To configure git-daemon and export singel repositories, this tutorial might help!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s