Skip to content

Instantly share code, notes, and snippets.

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