-
Notifications
You must be signed in to change notification settings - Fork 28
/
.gitconfig
50 lines (50 loc) · 1.02 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
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[user]
name = Ivan Pazhitnykh
email = ivan.pazhitnykh@gmail.com
[core]
autocrlf = false
safecrlf = true
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
undo = reset --soft HEAD^
undo2 = reset --soft HEAD~2
undo3 = reset --soft HEAD~3
undo4 = reset --soft HEAD~4
score = shortlog -sne --no-merges
[color]
branch = auto
diff = auto
status = auto
[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
# [merge "npm-merge-driver"]
# name = automatically merge npm lockfiles
# driver = npx npm-merge-driver merge %A %O %B %P
[rerere]
enabled = true
[pull]
rebase = false
[init]
defaultBranch = main