-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
29 lines (29 loc) · 855 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
29
[user]
name = Dean Verhey
email = [email protected]
[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 --
co = switch
[fetch]
prune = true
[pull]
ff = only
# if adding to work repos, use work info
[includeIf "gitdir:~/code/launchdarkly/**"]
path = .gitconfig_work
# never https
[url "[email protected]:"]
insteadOf = https://github.com/
[commit]
template = ~/.gitmessage