[core] excludesfile = ~/.gitignore_global [branch] autosetupmerge = true [advice] pushNonFastForward = false # some aliases mostly from http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/ [alias] amend = commit -a --amend br = branch ci = commit co = checkout h = help k = !gitk --all& # short log formats show date because the author is almost always me l = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%ad]" --decorate --date=short ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn\\ %ar]" --decorate --numstat ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=iso lt = describe --tags --abbrev=0 ss = status -s st = status sw = switch top = "!pwd;" # print top-level directory of worktree; run command there [color] ui = auto diff = auto status = auto branch = auto [push] default = matching followTags = true [init] # this template uses "main" instead of "master" as the name of git's default branch templateDir = ~/.config/git/init_template [filter "lfs"] required = true clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process [include] path = ~/Honu/local/local_gitconfig # Local Variables: # fill-column:120 # End: