-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
64 lines (50 loc) · 1.23 KB
/
gitconfig
File metadata and controls
64 lines (50 loc) · 1.23 KB
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
[core]
whitespace = space-before-tab,trailing-space,tabwidth=2
editor = vim
pager = delta
[include]
path = ~/.gituser
[interactive]
diffFilter = delta --color-only
[push]
default = matching
[color]
ui = always
branch = true
diff = true
pager = true
status = true
[color "status"]
added = green
changed = yellow bold
untracked = red bold
[github]
user = skreuzer
[rebase]
autosquash = true
[alias]
lg = log --first-parent
co = checkout # Checkout a branch
cob = checkout --track origin/master -b # Checkout a new not yet existing branch
f = fetch -p
st = status
br = branch
ci = commit
bd = branch -d # Delete a branch only if it has been merged
bD = branch -D # Force delete a branch
dc = diff --cached # Display the staged changes
pr = pull --rebase
p = pull --rebase --ff-only
[diff]
algorithm = patience
[pull]
rebase = true
[commit]
gpgsign = true
[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)
[merge]
conflictstyle = diff3
[diff]
colorMoved = default