What is the git head?



  • Man page for git.

    From the man page: "A special ref named HEAD contains the name of the currently checked-out branch."

    It is the reference to the last commit in the currently checked out branch.

    The git log command will show this.

    $ git log
    


© Lightnetics 2024