diff options
| -rwxr-xr-x | web/init-cgit | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/web/init-cgit b/web/init-cgit index 994b407..8c21d06 100755 --- a/web/init-cgit +++ b/web/init-cgit @@ -6,6 +6,7 @@  # $1 = name of repo - I guess we could get this from the cwd maybe?.  # $2 = description to override repo/description with.  # $3 = if necessary, a branch to use if not master. +# The local must have a git repo already.  if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then   	echo "init-cgit NAME DESCRIPTION" @@ -37,4 +38,6 @@ if [ -z "$3" ] ; then  	BRANCH=master  else   	BRANCH="$3" +fi +  git push "$REMOTE_NAME" "$BRANCH" | 
