Skip to content

Instantly share code, notes, and snippets.

@andrewsardone
Created October 21, 2009 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewsardone/215436 to your computer and use it in GitHub Desktop.
Save andrewsardone/215436 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
#
# makeGitRepo
[[ -n "$1" ]] || { echo "Usage: $0 project_name"; exit 0 ; }
mkdir -m 770 $1.git
cd $1.git
git --bare init --shared=group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment