• 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

  • GIT – What Is GIT Fork ?

    GIT – What Is GIT Fork ?

    What Is GIT Fork? Table Of Contents: What Is Forking In GIT? How To Fork In GIT? (1) What Is Forking In GIT? Forking a repository means, copying the repository on the server side only. While cloning a repository means, copying it into the local system. Most commonly, forks are used to propose changes to someone else’s project or use someone else’s project as a starting point for your own idea. (2) How To Fork In GIT? There is no explicit Git command is used to fork a repository. If you have a Git repository on your personal computer, you

    Read More