-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
47 lines (46 loc) · 1.13 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]
email = [email protected]
name = Grégoire Charvet 黑瓜
[color]
ui = true
[core]
editor = nvim
excludesfile = /home/greg/.gitignore
[alias]
st = status -sb
co = checkout
br = branch
wdiff = diff --word-diff
# pretty one-line log with tags, branches and authors
ls = log --date short --pretty format:\"%C(yellow)%h %C(blue)%ad%C(red)%d %C(reset)%s%C(green) [%cn]\" --decorate
# a verbose ls, shows changed files too
lsv = log --date short --pretty format:\"%C(yellow)%h %C(blue)%ad%C(red)%d %C(reset)%s%C(green) [%cn]\" --decorate --numstat
lsg = log --graph --decorate --pretty oneline --abbrev-commit --all
ps = push --recurse-submodules check
spush = push --recurse-submodules on-demand
supdate = submodule update --remote --merge
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
keepbackup = false
prompt = false
[push]
default = upstream
[branch]
autosetuprebase = always
[pull]
rebase = merges
[diff]
submodule = log
tool = vimdiff
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[commit]
gpgsign = false
[submodule]
recurse = true
[init]
defaultBranch = master