• GIT – What Is GIT Head ?

    GIT – What Is GIT Head ?

    What Is GIT Head? Table Of Contents: What Is GIT Head? How To Use GIT Head? (1) What Is GIT Head? The ‘HEAD’ will tell you the last commit in the current checkout branch. The ‘HEAD’ can be understood as the “current branch.” When you switch branches with ‘checkout,’ the ‘HEAD’ is transferred to the new branch. (2) How To Use GIT Head? Use the below command to check the ‘GIT HEAD’. git show HEAD Note: It will show you the last committed ID on the checkout branch. You can verify that by seeing the logs. git log – raw

    Read More