Skip to content

Instantly share code, notes, and snippets.

@cubeton
Last active September 16, 2015 22:01
Show Gist options
  • Save cubeton/62642eb92ccbe58f3aa5 to your computer and use it in GitHub Desktop.
Save cubeton/62642eb92ccbe58f3aa5 to your computer and use it in GitHub Desktop.
second commit
mnelson:myproject mnelson$ echo "making some more changes" >> mnelson.txt
mnelson:myproject mnelson$ git status
On branch my-new-branch
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   mnelson.txt

no changes added to commit (use "git add" and/or "git commit -a")
mnelson:myproject mnelson$ git add mnelson.txt
mnelson:myproject mnelson$ git commit -m "Added some more text to my file"
[my-new-branch 1e8dc08] Added some more text to my file
 1 file changed, 1 insertion(+)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment