-
-
Save a2ikm/841725 to your computer and use it in GitHub Desktop.
rails new, then initialize git repository and commit all files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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