-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
40 lines (40 loc) · 1.12 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
[user]
name = Maxlufs
email = [email protected]
[merge]
tool = vimdiff
[alias]
unstage = reset HEAD --
st = status
d = diff
man = help
sm = submodule
br = branch
brr = branch -r
bra = branch -a
type = cat-file -t
dump = cat-file -p
lg = log --color --graph --date=short --pretty=format:'[%C(bold cyan)%h%Creset] - %Cgreen%cd%Creset |%Cred%d%Creset %s %C(yellow)<%an>%Creset' --abbrev-commit
lga = log --color --graph --date=short --pretty=format:'[%C(bold cyan)%h%Creset] - %Cgreen%cd%Creset |%Cred%d%Creset %s %C(yellow)<%an>%Creset' --abbrev-commit --all -20
lgall = log --color --graph --date=short --pretty=format:'[%C(bold cyan)%h%Creset] - %Cgreen%cd%Creset |%Cred%d%Creset %s %C(yellow)<%an>%Creset' --abbrev-commit --all
ad = add
cm = commit
cmm = commit -m
cmam = commit -am
co = checkout
verbs = "!git log --pretty=format:'%s' | cut -d \\ -f 1 | sort | uniq -c | sort -nr"
[core]
excludesfile = ~/.gitignore_global
pager = less -SERX
editor = vim
[commit]
template = ~/.gitmessage
[color]
ui = auto
branch = auto
diff = auto
interactive = auto
pager = true
status = auto
[push]
default = matching