Skip to content

Instantly share code, notes, and snippets.

@notbend
Created July 9, 2013 05: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 notbend/5954967 to your computer and use it in GitHub Desktop.
Save notbend/5954967 to your computer and use it in GitHub Desktop.
#!/bin/bash
dir=$1
if [ -n "${dir}" ]; then
echo "Creating new git instance in ${dir}"
mkdir "${dir}"
mkdir "${dir}/app"
mkdir "${dir}/config"
mkdir "${dir}/test"
touch "${dir}/README.md"
git init "${dir}/"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment