Skip to content

Instantly share code, notes, and snippets.

@a2ikm
Created February 24, 2011 03:58
Show Gist options
  • Save a2ikm/841725 to your computer and use it in GitHub Desktop.
Save a2ikm/841725 to your computer and use it in GitHub Desktop.
rails new, then initialize git repository and commit all files
rnew () {
rails new $*
cd $1
git init
git add .
git commit -am "initial commit"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment