-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
55 lines (47 loc) · 1.21 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
48
49
50
51
52
53
54
55
[user]
name = Louis Marie
# name = Scorfly
email = louis.marie@ovhcloud.com
# email = scorfly@gmail.com
[branch]
autosetupmerge = true
autosetuprebase = always
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
ci = commit
co = checkout
st = status
br = branch
df = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
pushdev = !git push --set-upstream origin "`git branch --no-color 2>/dev/null | grep '*' | sed -e 's/\\* //'`:dev/lmarie/`git branch --no-color 2>/dev/null | grep '*' | sed -e 's/\\* //'`"
rbm = !git fetch origin && git rebase origin/master
cia = commit --amend --reset-author
poule = pull # joke
[push]
default = tracking
[core]
editor = vim
#[url "https://github"]
# insteadOf = git://github
[credential]
helper = cache