Skip to content

Instantly share code, notes, and snippets.

@craigw
Created July 20, 2009 19:50
Show Gist options
  • Save craigw/150841 to your computer and use it in GitHub Desktop.
Save craigw/150841 to your computer and use it in GitHub Desktop.
# Look to see what's been changed
git status
# Stage the models, migrations, schema and tests.
git add app/models/ db/migrate/ db/schema.rb test/
# Commit the changes with a message
git commit -m "Added a model to represent sandwiches."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment