Archive for the Git Category
Fixing Git Mistakes
Posted on August 31, 2020 in Git by Matt Jennings
What Happens when you Git Checkout a Branch?
Change HEAD to point to the new branch
Copy the commit snapshot to the
How to do Multi Line Commit Messages in Git
In your terminal, just hit ‘enter’ for a new line:
$ git commit
They are pointers to commits.
Three Types of Git References
Tags and Annotated Tags
What is Head?
HEAD is how git knows what branch you’re
Git Cherry Picking
Posted on August 28, 2020 in Git by Matt Jennings
Cherry picking in Git means to choose a commit from one branch and apply it onto another.
I have two branches,
The information below is from Git Foundations chapter of Git In-depth.
Three Areas Where Code Lives
Work Area (Work Tree)