Nathan's Public Domicile

Home | Consulting | Projects

My Git Setup

• Nathan McCallum • Programming

Git is a tool programmers use to track changes to text files over time which can be configured using a special .gitconfig file. The following is my gitconfig.

[alias]
  gas = !git add -A && git status
  cam = commit -am
  po = push origin
  s = status
  fs = !git fetch && git status

[pull]
  ff = only

[init]
  defaultBranch = main

[user]
  name = Nathan McCallum
  email = hey@nathan-mccallum.com