🗜️ gitconfig

Core

  • Editor - vim

Credential

  • helper - osxkeychain

Aliases

  • ready - Rebase on origin master
  • distance - distance to master branch, useful before rebasing interactively
  • squash - squash commits against master branch
  • cmp - Commit and push using only one command. Requires commit message right after the alias command. Ignores hooks.
  • cbr - Checkout origin branch removing the local one.
  • master - Checkout master and pull changes from the remote
  • gbr - Remove all local branches

Pull

  • Using rebase strategy on pull instead of default merge.

Color

Use diff-so-fancy.