nix config
at deck 55 lines 1.5 kB view raw
1[user] 2 name = Anish Lakhwara 3 email = anish+git@lakhwara.com 4[core] 5 whitespace = trailing-space 6[init] 7 defaultBranch = main 8[github] 9 user = chickensoupwithrice 10[gitlab] 11 user = 12[rebase] 13 autosquash = true 14[push] 15 default = current 16[pull] 17 rebase = true 18[merge] 19 mergetool = nvim -d 20 conflictstyle = diff3 21[alias] 22 unadd = reset HEAD 23 # data analysis 24 ranked-authors = !git authors | sort | uniq -c | sort -n 25 emails = !git log --format="%aE" | sort -u 26 email-domains = !git log --format="%aE" | awk -F'@' '{print $2}' | sort -u 27 # pretty log 28 ls = !git log --graph --abbrev-commit --decorate --color=always --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) - %C(dim red)%an%C(reset)%C(bold yellow)%d%C(reset)' --all 29 undo = !git reset HEAD~1 --mixed 30 blm = blame -w -C -C -C 31[filter "lfs"] 32 required = true 33 smudge = git-lfs smudge -- %f 34 process = git-lfs filter-process 35 clean = git-lfs clean -- %f 36[url "git@github.com:"] 37 insteadOf = https://github.com/ 38[url "https://github.com/"] 39 insteadOf = gh: 40[url "git@github.com:"] 41 insteadOf = ssh+gh: 42[url "git@github.com:chickensoupwithrice/"] 43 insteadOf = gh:/ 44[url "https://gitlab.com/"] 45 insteadOf = gl: 46[url "https://gist.github.com/"] 47 insteadOf = gist: 48[url "https://bitbucket.org/"] 49 insteadOf = bb: 50[url "https://git.v0.com"] 51 insteadOf = v0: 52[diff "lisp"] 53 xfuncname = "^(((;;;+ )|\\(|([ \t]+\\(((cl-|el-patch-)?def(un|var|macro|method|custom)|gb/))).*)$" 54[diff "org"] 55 xfuncname = "^(\\*+ +.*)$"