diff --git a/README.md b/README.md index 392c231..937e103 100644 --- a/README.md +++ b/README.md @@ -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 +``` + ### I wrote the wrong thing in a commit message