Skip to content

Instantly share code, notes, and snippets.

@trey trey/repo
Created Feb 9, 2009

What would you like to do?
Hosting Git repositories on Slicehost.
cd /var/git
mkdir $1.git
cd $1.git
git --bare init
sudo chown -R git .
git clone ssh://$1.git
git remote add origin ssh://$1.git

This comment has been minimized.

Copy link

commented Apr 22, 2011

You did this so differently than I had to for my own server, but after hours of searching I was desperate and some dang reason I followed your first two steps and got it all working! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.