-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig
111 lines (81 loc) · 2.18 KB
/
dot_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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[user]
name = Asen Lekov
email = asenlekoff@gmail.com
[alias]
tags = tag -l
branches = branch -a
remotes = remote -v
commits = shortlog -s -n
main = checkout main
a = add
c = commit
cm = commit -m
co = checkout
cob = checkout -b
undo = reset HEAD~1 --mixed
up = !git pull --rebase --prune $@ && git submodule update --init --recursive
d = difftool
s = status
unstage = reset HEAD
untrack = rm --cached
forget = !git ls-files --ignored --exclude-standard -z | xargs -0 git rm --cached
l = log -18 --color=always --all --topo-order --pretty='format:%Cgreen%h%Creset %s%Cred%d%Creset %C(black bold)(by %an)%Creset'
ll = log --color=always --all --topo-order --pretty='format:%Cgreen%h%Creset %s%Cred%d%Creset %C(black bold)(by %an)%Creset'
gl = log -12 --color=always --all --graph --topo-order --pretty='format:%Cgreen%h%Creset %s %C(black bold)(by %an)%Creset%C(yellow bold)%d%Creset%n'
gll = log --color=always --all --graph --topo-order --pretty='format:%Cgreen%h%Creset %s %C(black bold)(%cr by %an)%Creset%C(yellow bold)%d%Creset%n'
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\t=> \\2/' | sort
squash = !git rebase --interactive --autosquash HEAD~$@
[core]
excludesfile = ~/.gitignore_global
[apply]
whitespace = nowarn
[fetch]
prune = true
[push]
default = current
[branch]
autosetuprebase = always
[log]
date = relative
[color]
branch = auto
diff = auto
status = auto
showbranch = auto
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[github]
user = azlekov
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true
[pull]
rebase = true
[merge]
tool = vscode
[mergetool "vscode"]
cmd = "code --wait "
[init]
defaultBranch = main