Git tips by symbols
@DQNEO
Published
@
@ = HEAD
git log @
git diff @ branchA
-
- 

where I was previously
git checkout -
git merge -
git rebase -
--
--
Declare the next argument
is “a file”
git log -- dir/file
:
:
Specify a file in a revision
revision:dir/file
Specify a file in a revision
git log master:README.md
git diff master:README.md v3.0:README.md
A…B
from common ancestor
to B
A…B
git diff master…branchA
e.g.
https://github.com/DQNEO/dietcube/compare/
master...must-config
~
~
parent commit 

(and first one if there are two)
git show @~
Thank you !

Git tips by symbols