Skip to content

Commit

Permalink
Improve commit messages in 01-backup
Browse files Browse the repository at this point in the history
We should model good commit message style as best as possible.
This updates the commit messages to make them a little better/more standard.
  • Loading branch information
ethanwhite committed Mar 19, 2015
1 parent 7bd2d36 commit f5009ba
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions 03-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ To get it to do that,
we need to run one more command:

~~~ {.bash}
$ git commit -m "Starting to think about Mars"
$ git commit -m "Start notes on Mars as a base"
~~~
~~~ {.output}
[master (root-commit) f22b25e] Starting to think about Mars
[master (root-commit) f22b25e] Start notes on Mars as a base
1 file changed, 1 insertion(+)
create mode 100644 mars.txt
~~~
Expand Down Expand Up @@ -132,7 +132,7 @@ commit f22b25e3233b4645dabd0d81e651fe074bd8e73b
Author: Vlad Dracula <vlad@tran.sylvan.ia>
Date: Thu Aug 22 09:51:46 2013 -0400
Starting to think about Mars
Start notes on Mars as a base
~~~

`git log` lists all revisions made to a repository in reverse chronological order.
Expand Down Expand Up @@ -225,7 +225,7 @@ If we break it down into pieces:
After reviewing our change, it's time to commit it:

~~~ {.bash}
$ git commit -m "Concerns about Mars's moons on my furry friend"
$ git commit -m "Add concerns about effects of Mars' moons on Wolfman"
~~~
~~~ {.output}
# On branch master
Expand All @@ -244,10 +244,10 @@ Let's fix that:

~~~ {.bash}
$ git add mars.txt
$ git commit -m "Concerns about Mars's moons on my furry friend"
$ git commit -m "Add concerns about effects of Mars' moons on Wolfman"
~~~
~~~ {.output}
[master 34961b1] Concerns about Mars's moons on my furry friend
[master 34961b1] Add concerns about effects of Mars' moons on Wolfman
1 file changed, 1 insertion(+)
~~~

Expand Down Expand Up @@ -339,10 +339,10 @@ and what's in the staging area.
Let's save our changes:

~~~ {.bash}
$ git commit -m "Thoughts about the climate"
$ git commit -m "Discuss concerns about Mars' climate for Mummy"
~~~
~~~ {.output}
[master 005937f] Thoughts about the climate
[master 005937f] Discuss concerns about Mars' climate for Mummy
1 file changed, 1 insertion(+)
~~~

Expand All @@ -366,19 +366,19 @@ commit 005937fbe2a98fb83f0ade869025dc2636b4dad5
Author: Vlad Dracula <vlad@tran.sylvan.ia>
Date: Thu Aug 22 10:14:07 2013 -0400
Thoughts about the climate
Discuss concerns about Mars' climate for Mummy
commit 34961b159c27df3b475cfe4415d94a6d1fcd064d
Author: Vlad Dracula <vlad@tran.sylvan.ia>
Date: Thu Aug 22 10:07:21 2013 -0400
Concerns about Mars's moons on my furry friend
Add concerns about effects of Mars' moons on Wolfman
commit f22b25e3233b4645dabd0d81e651fe074bd8e73b
Author: Vlad Dracula <vlad@tran.sylvan.ia>
Date: Thu Aug 22 09:51:46 2013 -0400
Starting to think about Mars
Start notes on Mars as a base
~~~

To recap, when we want to add changes to our repository,
Expand Down

0 comments on commit f5009ba

Please sign in to comment.