-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgitconfig
47 lines (39 loc) · 970 Bytes
/
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
# TO BE CHANGED if you cloned my dotfiles
[user]
email = [email protected]
name = Damien Cupif
[core]
editor = vim
pager = cat
[alias]
br = branch
ci = commit
cia = commit --amend
co = checkout
cob = checkout -b
dc = diff --cached
di = diff
dlb = branch -d
drb = push origin --delete
fixup = commit --fixup
fr = "!git fetch && git rebase origin/master"
frp = "!git fetch && git rebase origin/master && git push --force-with-lease"
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative
ll = "!git lg -10"
st = status -sb
up = push -u origin HEAD
wdiff = diff --word-diff=color --word-diff-regex=.
[grep]
linenumber = true
[color]
ui = auto
[push]
default = simple
[rebase]
preserve = true
[pull]
rebase = true
rebase = preserve
[merge]
conflictstyle = diff3
renormalize = 1