Skip to content

Commit

Permalink
Add second link for commit message best practices
Browse files Browse the repository at this point in the history
This article does a fantastic job of explaining not only what the
conventions are, but _why they are important_. Chris also talks about
other conventions that are significant, like using the imperative
mood in the subject line, and provides delightful and
easy-to-understand examples of these practices' importance.
  • Loading branch information
etcadinfinitum committed May 28, 2020
1 parent dee513e commit 368c003
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _2020/version-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ index 94bab17..f0013b2 100644
- `git add <filename>`: adds files to staging area
- `git commit`: creates a new commit
- Write [good commit messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)!
- Even more reasons to write [good commit messages](https://chris.beams.io/posts/git-commit/)!
- `git log`: shows a flattened log of history
- `git log --all --graph --decorate`: visualizes history as a DAG
- `git diff <filename>`: show differences since the last commit
Expand Down

0 comments on commit 368c003

Please sign in to comment.