-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
40 lines (40 loc) · 1.11 KB
/
.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
30
31
32
33
34
35
36
37
38
39
40
[user]
name = Adam Bazzi
email = [email protected]
[core]
editor = vim
[init]
defaultBranch = main
[alias]
; logo = log --pretty=tformat:'%m %C(auto,yellow)%h%C(auto,magenta)% G? %C(auto,blue)%>(12,trunc)%ad %C(auto,green)%<(15,trunc)%aN%C(auto,reset)%s%C(auto,red)% gD% D' --date=short
logo = log --pretty=tformat:'%C(auto,red)%m %C(auto,yellow)%h%C(auto,magenta) %G? %C(auto,blue)%>(12,trunc)%ad %C(auto,green)%<(15,trunc)%aN%C(auto,reset)%s%C(auto,red) %gD %D' --date=short
adog = log --all --decorate --oneline --graph
dog = log --decorate --oneline --graph
amend = commit --amend
cm = commit -m
co = checkout
cb = checkout -b
lb = branch -a
db = branch -d
lb = branch -a
bd = branch -D
lsa = config --get-regexp alias
rbi = rebase -i
[merge]
tool = nvim
conflictstyle = diff3
[mergetool "nvim"]
cmd = nvim -d $LOCAL $BASE $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
; trustExitCode = true
[core]
autocrlf = input
excludesFile = ~/.gitignore
attributesFile = ~/.gitattributes
[commit]
; gpgsign = true
[diff]
submodule = log
[submodule]
recurse = true
[pull]
rebase = true