github-playground icon indicating copy to clipboard operation
github-playground copied to clipboard

Error in git-commands.md?

Open projeffboy opened this issue 4 years ago • 0 comments

"Take a look at what is different from our last commit. In this case we want the diff of our most recent commit, and we can refer to it using HEAD -> git diff HEAD"

Shouldn't it be git diff HEAD^ ?

projeffboy avatar Jul 23 '21 07:07 projeffboy