summaryrefslogtreecommitdiffstats
path: root/gitconfig
blob: f144110a77d0de3e4ec70ef6423ab3eb84cb9b48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[user]
	email = matt@matthewlemon.com
	name = Matthew Lemon
[core]
  excludesfile = /home/lemon/.gitignore_global
  quotepath = false
  editor = /usr/local/bin/vim
[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
[color]
    ui = true
    branch = true
    diff = true
    interactive = true
    status = true
    log = false
[pull]
	rebase = false
[init]
	defaultBranch = master