-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
28 lines (28 loc) · 839 Bytes
/
.gitconfig
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
[user]
name = Dean Verhey
email = deanverhey@gmail.com
[core]
autocrlf = false
editor = nvim
excludesfile = ~/.gitignore_global
pager = less -FRX
[init]
defaultbranch = main
[alias]
adog = log --all --decorate --oneline --graph
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
cm = switch main
cd = switch develop
unstage = reset HEAD --
[fetch]
prune = true
[pull]
ff = only
# if adding to work repos, use work info
[includeIf "gitdir:~/code/launchdarkly/**"]
path = .gitconfig_work
# never https
[url "git@github.com:"]
insteadOf = https://github.com/
[commit]
template = ~/.gitmessage