1
0
mirror of https://github.com/k88hudson/git-flight-rules.git synced 2025-03-10 12:48:43 -03:00

Merge pull request #94 from alvarogarcia7/patch-1

add another way of seeing the last committed diff
This commit is contained in:
Richard Littauer 2016-02-15 12:56:47 -05:00
commit d87d89abfb

View File

@ -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