summaryrefslogblamecommitdiffstats
path: root/gitconfig
blob: be0b9e037fb45952a27fd324e7fdbae51505015c (plain) (tree)


























                                                                                                                                         
[user]
	email = matt@matthewlemon.com
	name = Matthew Lemon
[core]
  excludesfile = /home/lemon/.gitignore_global
  quotepath = false
  editor = /usr/bin/nvim
[alias]
  co = checkout
  ci = commit
  br = branch
  # friendly statuses
  st = status -sb --ignore-submodules=all
  # Add all unstaged changes/removals and commit. All you gotta do here is pass the commit message.
  # Example: git ac 'My commit message'
  ac = !git add -A && git commit -m
  # Pretty looking log
  lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
	d = difftool
[push]
	default = simple
[diff]
	tool = vimdiff
[difftool]
	prompt = false
[pull]
	rebase = false