-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
59 lines (55 loc) · 1.64 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[core]
excludesFile = ~/.gitignore_global
editor = /usr/bin/vim
pager = delta
[interactive]
diffFilter = delta --color-only
[user]
email = [email protected]
name = Tomas Miguez
signingkey = 23A3406698EDFD67
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = 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
lg = log --abbrev-commit
p = push
pc = push -u origin @
ac = !git add . && git commit
amend = commit -a --amend --no-edit
co = checkout
br = branch
rb = rebase
rbm = rebase master
rbim = rebase -i master
brl = br --sort=-committerdate
autosquash = !export GIT_SEQUENCE_EDITOR=: && (git rebase -i --autosquash $1) && export GIT_SEQUENCE_EDITOR=$EDITOR
fixup = commit -a --fixup
conflicts = diff --name-only --diff-filter=U
[gpg]
program = gpg2
[merge]
tool = vimdiff
conflictstyle = diff3
[pull]
rebase = false
[rebase]
autosquash = true
[diff]
tool = vimdiff
colorMoved = default
[difftool]
prompt = false
[init]
defaultBranch = master
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
line-numbers = true
[log]
abbrevCommit = true
[commit]
gpgsign = true
[safe]
directory = *
[credential]
helper = store