-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
32 lines (31 loc) · 914 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
[user]
name = Brice Maron
email = [email protected]
[core]
editor = vim
excludesfile = ~/.gitignore
[color]
diff = auto
interactive = auto
branch = auto
status = auto
[alias]
ci = commit
st = status
co = checkout
staged = diff --cached
uncommit = reset --soft HEAD^
wdiff = diff --color-words
# Display nice sumary when doing a pull --rebase
up = !sh -c 'git pull --rebase --prune && git log --pretty=format:\"%Cred%ae %Creset- %C(yellow)%s %Creset(%ar)\" HEAD@{1}..'
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
out = log --pretty=oneline --abbrev-commit --graph ..@{u}
in = !git fetch && git log --pretty=oneline --abbrev-commit --graph @{u}..
[grep]
lineNumber= true
[color]
ui = on
[github]
user = eMerzh
[push]
default = simple