-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
47 lines (44 loc) · 1.11 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
[user]
name = Kilian Pfeiffer
email = kilian@recogni.com
[color]
ui = true
[alias]
lol = log --pretty=oneline --abbrev-commit --graph --decorate
lola = log --pretty=oneline --abbrev-commit --graph --decorate --all
lo = log --graph --summary --decorate --all
pullr = pull --rebase
ai = add --interactive
ap = add --patch
ca = commit --all
co = checkout
cop = checkout -p
cp = cherry-pick
s = status
b = branch
l = log
c = commit
a = add
d = diff
dc = diff --cached
ri = rebase -i --autosquash
ri8 = rebase -i HEAD^^^^^^^
wip = commit --all -m "wip" --no-verify
fix = commit --amend -C HEAD
fixup = commit --fixup=HEAD
theirs = checkout --theirs
ours = checkout --ours
shm = diff-tree --no-commit-id --name-status -r
# amend = commit --amend --reuse-message=HEAD
readd = update-index --again
# difff = "!f() {commit=$(git merge-base \"$1\" HEAD); git diff \"$1\" $commit }"
[pull]
rebase = true
[push]
autoSetupRemote = true
[core]
excludesfile = ~/.gitignore
[rerere]
enabled = 1
[safe]
directory = *