-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
42 lines (42 loc) · 1.42 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
[user]
email = [email protected]
name = Giacomo Gatelli
[core]
editor = vim
excludesfile = ~/.gitignore
[push]
default = current
[color]
ui = always
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[alias]
graph = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold red)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- <%C(bold green)%an%C(reset)>%C(reset)%C(bold yellow)%d%C(reset)' --all
stat = log --stat
heir = log --all --graph --decorate --oneline --simplify-by-decoration
s = status
a = add -A .
p = pull
pr = pull --rebase
co = checkout
d = diff
lr = ! git for-each-ref --sort=-committerdate refs/heads/ --format='%(color:yellow bold)%(committerdate:relative)| %(color:cyan bold)%(authorname)| %(color:red bold)%(refname:short) %(color:reset)| %(subject)' --count=10 | column -ts '|'
lrl = ! git for-each-ref --sort=-committerdate refs/heads/ --format='%(color:yellow bold)%(committerdate:relative)| %(color:cyan bold)%(authorname)| %(color:red bold)%(refname:short) %(color:reset)| %(subject)' --count=30 | column -ts '|'
whodeleted = rev-list -n 1 HEAD --
l = log --oneline --decorate
[rebase]
autosquash = true
[merge]
conflictstyle = diff3