-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig.txt
73 lines (59 loc) · 1.46 KB
/
gitconfig.txt
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
[user]
name = {......}
email = {......}
[core]
editor = code
pager = cat
[alias]
co = checkout
cp = cherry-pick
br = branch
ci = commit
st = status
cg = config --global -e
df = diff --ignore-space-at-eol -b -w
lg = log -30 --graph --pretty=format:'%Cred%h%Creset - %Cgreen%cr%Creset | %C(yellow)%d%Creset %s %C(bold yellow)[%an]%Creset' --abbrev-commit --date=short
tidy = !git fsck -- unreachable && git reflog expire --expire=0 --all && git repack --max-pack-size=100M -a -d -l && git prune && git gc --aggressive
mt = mergetool
fpull = per rebase
fpush = per submit
rb = rebase
cmp = "!f() { git add -A && git commit -m \"$@\" && git push; }; f"
[merge]
tool = bc3
[mergetool]
prompt = false
keepBackup = false
[mergetool "bc3"]
cmd = bcomp \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
trustExitCode = true
[diff]
tool = bc3
[difftool "bc3"]
cmd = bcomp \"$LOCAL\" \"$REMOTE\"
prompt = false
[color]
ui = auto
interactive = auto
merge = 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
[branch]
autosetupmerge = true
autosetuprebase = always
[pack]
windowMemory = 256m
packSizeLimit = 100m
[push]
default = current