Skip to content

Commit

Permalink
add another way of seeing the last committed diff
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarogarcia7 committed Feb 14, 2016
1 parent a289c22 commit 3571561
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ Let's say that you just blindly committed changes with `git commit -a` and you'r
(master)$ git diff HEAD@{1} HEAD
```

or

```sh
$ git log -n1 -p
```

<a name="#i-wrote-the-wrong-thing-in-a-commit-message"></a>
### I wrote the wrong thing in a commit message

Expand Down

0 comments on commit 3571561

Please sign in to comment.