Skip to content

Instantly share code, notes, and snippets.

@sethladd
Forked from dburger/gist:118842
Created May 28, 2009 02:00
Show Gist options
  • Save sethladd/119039 to your computer and use it in GitHub Desktop.
Save sethladd/119039 to your computer and use it in GitHub Desktop.
create a new bare shared git repository
ssh gitserver.com
mkdir -p /var/data/repos/myrepo.git
cd /var/data/repos/myrepo.git
git --bare init --shared=group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment