Skip to content

Instantly share code, notes, and snippets.

@Philonous
Created December 22, 2013 11:19
Show Gist options
  • Save Philonous/8081045 to your computer and use it in GitHub Desktop.
Save Philonous/8081045 to your computer and use it in GitHub Desktop.
#!/bin/sh
[ -f .gitignore ] || cp $HOME/skel/.gitignore .
[ -f LICENSE ] || cp $HOME/skel/LICENSE .
[ -d .git ] || (git init; git add .gitignore LICENSE; git commit -am "initial commit")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment