-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
35 lines (35 loc) · 943 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
[color]
ui = true
[user]
name = Eirik Marthinsen
email = [email protected]
[core]
autocrlf = input
editor = vim
fileMode = false
[alias]
s = status -sb
ci = commit
cim = commit -m
cima = commit -a -m
lo = log --decorate --abbrev-commit --date=relative
l = log --decorate --oneline --graph
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%aN>%Creset' --abbrev-commit
co = checkout
slap = blame -w
b = branch -v
bl = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(refname:short) %(color:green)(%(committerdate:relative))%(color:reset)'
fp = format-patch -k -M -N
bc = branch --contains
mr = log --pretty='format:%h %s' --reverse master..
sub = "!f() { git grep -l "$1" | xargs sed -i "s/$1/$2/g"; }; f"
[apply]
whitespace = nowarn
[log]
decorate = short
[rebase]
autosquash = true
[merge]
tool = tortoisemerge
[push]
default = simple