Blog
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
Read more…
How to do Multi Line Commit Messages in Git
In your terminal, just hit ‘enter’ for a new line:
$ git commit
Read more…
References
They are pointers to commits.
Three Types of Git References
Tags and Annotated Tags
Branches
HEAD
What is Head?
HEAD is how git knows what branch you’re
Read more…
Git Cherry Picking
Posted on August 28, 2020 in Git by Matt Jennings
Definition
Cherry picking in Git means to choose a commit from one branch and apply it onto another.
Example
I have two branches,
Read more…
The information below is from Git Foundations chapter of Git In-depth.
Three Areas Where Code Lives
Work Area (Work Tree)
Staging Area
Read more…
To Top ↑