]>
Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/newgit
2 # Usage: newgit path/to project-name.git"
3 # Create a new bare git respository
6 echo "usage: $FUNCNAME path/to/project-name.git"
10 pushd $gitdir > /dev
/null
12 git
--bare update
-server-info
13 mv hooks
/post
-update.sample hooks
/post
-update
14 chmod a
+x hooks
/post
-update
15 touch git
-daemon-export-ok