Author: Jay Luong

Git Relative Refs

You could use relative refs to move branches around. e.g.,  git branch -f master HEAD~3, etc.  The “^” Operator Goes up to the first parent. e.g., git checkout master^ The “~[integer]” Operator The...

Read More

Git Tools

git rebase This allows you to copy commits/branch to another commit/branch directly. You’re taking all the changes that were committed on a branch and replaying it on another. This creates a nice linear sequence of commits...

Read More

A Git Primer – Under the Hood

These notes assume you’re familiar with the basic functions of Git. The Git repository exists entirely in a single “.git” directory in your project root. Objects in Git are identified by hashes. Blobs –...

Read More