mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
add another way of seeing the last committed diff
This commit is contained in:
parent
a289c22e73
commit
35715611d4
@ -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
|
(master)$ git diff HEAD@{1} HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ git log -n1 -p
|
||||||
|
```
|
||||||
|
|
||||||
<a name="#i-wrote-the-wrong-thing-in-a-commit-message"></a>
|
<a name="#i-wrote-the-wrong-thing-in-a-commit-message"></a>
|
||||||
### I wrote the wrong thing in a commit message
|
### I wrote the wrong thing in a commit message
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user