Created
March 9, 2009 13:25
-
-
Save dougal/76242 to your computer and use it in GitHub Desktop.
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
phoenix:Desktop dougal$ rails foo | |
[...] | |
phoenix:Desktop dougal$ cd foo | |
phoenix:foo dougal$ mv config/database.yml config/database.yml.example | |
phoenix:foo dougal$ echo "config/database.yml" > .gitignore | |
phoenix:foo dougal$ git init | |
Initialized empty Git repository in /Users/dougal/Desktop/foo/.git/ | |
phoenix:foo dougal$ git add . | |
phoenix:foo dougal$ git commit -a -m "Initial commit." | |
Created initial commit 07db11f: Initial commit. | |
47 files changed, 8531 insertions(+), 0 deletions(-) | |
[...] | |
phoenix:foo dougal$ cp config/database.yml.example config/database.yml | |
phoenix:foo dougal$ git st | |
# On branch master | |
nothing to commit (working directory clean) | |
phoenix:foo dougal$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment