Skip to content

Instantly share code, notes, and snippets.

@rogeriopvl
Forked from ruidlopes/gist:767143
Created April 28, 2011 08:40
Show Gist options
  • Save rogeriopvl/946021 to your computer and use it in GitHub Desktop.
Save rogeriopvl/946021 to your computer and use it in GitHub Desktop.
you know you want to put this on your .bash_profile (OSX)
function hack() {
mkdir -p $1
cd $1
git init
echo ".DS_Store" > .gitignore
mate .
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment