Skip to content

Instantly share code, notes, and snippets.

@andrewsardone
Created October 21, 2009 20:35
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/215435 to your computer and use it in GitHub Desktop.
Save andrewsardone/215435 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
[[ -n "$1" ]] || { echo "Usage: $0 project_name"; exit 0 ; }
mkdir -m 770 $1.git
cd $1.git
git --bare init --shared=group
pushd /Volumes/JungleDisk/Git
makeGitRepo project
pushd ~/code/project
git remote add jungledisk /Volumes/JungleDisk/Git/project.git
git push --all jungledisk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment