The default revision HEAD
suggest change$ git show # equivalent to 'git show HEAD'
HEAD names the commit the working tree is based on. It is usually a symbolic ref for the current branch. When HEAD is detached, it points at a commit directly. Many commands that take a revision use HEAD when you omit one.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents