mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-11 13:18:50 -03:00
Merge pull request #94 from alvarogarcia7/patch-1
add another way of seeing the last committed diff
This commit is contained in:
commit
d87d89abfb
@ -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