56 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| [user]
 | |
| 	name = Anish Lakhwara
 | |
| 	email = anish+git@lakhwara.com
 | |
| [core]
 | |
| 	whitespace = trailing-space
 | |
| [init]
 | |
| 	defaultBranch = main
 | |
| [github]
 | |
| 	user = chickensoupwithrice 
 | |
| [gitlab]
 | |
| 	user = 
 | |
| [rebase]
 | |
| 	autosquash = true
 | |
| [push]
 | |
| 	default = current
 | |
| [pull]
 | |
| 	rebase = true
 | |
| [merge]
 | |
|   mergetool = nvim -d
 | |
| 	conflictstyle = diff3
 | |
| [alias]
 | |
| 	unadd = reset HEAD
 | |
| 	# data analysis
 | |
| 	ranked-authors = !git authors | sort | uniq -c | sort -n
 | |
| 	emails = !git log --format="%aE" | sort -u
 | |
| 	email-domains = !git log --format="%aE" | awk -F'@' '{print $2}' | sort -u
 | |
| 	# pretty log
 | |
| 	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
 | |
|   undo = !git reset HEAD~1 --mixed
 | |
|   blm = blame -w -C -C -C
 | |
| [filter "lfs"]
 | |
| 	required = true
 | |
| 	smudge = git-lfs smudge -- %f
 | |
| 	process = git-lfs filter-process
 | |
| 	clean = git-lfs clean -- %f
 | |
| [url "git@github.com:"]
 | |
|     insteadOf = https://github.com/
 | |
| [url "https://github.com/"]
 | |
|     insteadOf = gh:
 | |
| [url "git@github.com:"]
 | |
|     insteadOf = ssh+gh:
 | |
| [url "git@github.com:chickensoupwithrice/"]
 | |
|     insteadOf = gh:/
 | |
| [url "https://gitlab.com/"]
 | |
|     insteadOf = gl:
 | |
| [url "https://gist.github.com/"]
 | |
|     insteadOf = gist:
 | |
| [url "https://bitbucket.org/"]
 | |
|     insteadOf = bb:
 | |
| [url "https://git.v0.com"]
 | |
|     insteadOf = v0:
 | |
| [diff "lisp"]
 | |
| 	xfuncname = "^(((;;;+ )|\\(|([ \t]+\\(((cl-|el-patch-)?def(un|var|macro|method|custom)|gb/))).*)$"
 | |
| [diff "org"]
 | |
| 	xfuncname = "^(\\*+ +.*)$"
 |