Select Page

Month: July 2015

Git Best Practices

Commit often All is not Lost git log -g git fsck –unreachable git stash list Backups Although a clone is a backup it does not include git configs, working directory/index, non-standard refs, or dangling objects. Once you...

Read More

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
  • 1
  • 2