Git - rev-parse

About

rev-parse 1) is a command line tool that permits to parse the output and output a single value.

Example

For a commit

git rev-parse commitHash^{tree}





Discover More
Git - Head (Head Branch | Branch Head) / Last commit

The head is the last commit of a branch. while the HEAD (in uppercase) is the head of the current branch (active branch). headHEADcurrent branch page In the example below, the branch head of: ...
Git - Upstream Branch (Tracking branch)

An upstream is a configuration of a local branch that set the remote branch that it's tracking. cloning @{u} or @{upstream} means the upstream branch of the current branch @{upstream} or @{u}...



Share this page:
Follow us:
Task Runner