-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
39 lines (39 loc) · 987 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
[user]
name = Maxime Ailloud
email = [email protected]
[alias]
st = status
dif = diff --word-diff=color
co = checkout
cob = checkout -b
cm = commit -m
rmall = "!sh -c 'git rm $(git ls-files --deleted)'"
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
amend = commit --amend
updatefork = pull upstream master
cp = cherry-pick
feature = "!f() { git checkout -b feature/CPF-$1; }; f"
hotfix = "!f() { git checkout -b hotfix/CPF-$1; }; f"
finish = !git checkout develop && git pull && git merge -
poush = push
[push]
default = upstream
autoSetupRemote = true
[pull]
rebase = true
[color]
status = auto
branch = auto
diff = auto
ui = true
[core]
editor = vi
filemode = false
autocrlf = input
excludesfile = /Users/max/.gitignore_global
[status]
showUntrackedFiles = all
[branch]
autosetuprebase = always
[fetch]
prune = true