-
Notifications
You must be signed in to change notification settings - Fork 9
/
gitconfig
47 lines (46 loc) · 1.66 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
#git config --global alias.cp 'cherry-pick -x'
#git config --global alias.lg 'log --oneline --decorate --graph --all'
#git config --global alias.tick '!echo $1 >> $1 && git add $1 && git commit -m $1'
#git config --global alias.unpushed 'log --branches --not --remotes --simplify-by-decoration --decorate --oneline'
#git config --global alias.grog "log --graph --format=format:'%C(auto)%h %C(cyan)%aD%C(dim white) %an %C(green)(%ar)%C(bold yellow)%d%n %C(auto)%s%C(reset)'"
#git config --global core.autocrlf false
#git config --global ignorecase false
#git config --global editor /usr/bin/vim
#git config --global push.default simple
#git config --global color.ui true
#git config --global branch.autosetuprebase always
#git config --global pull.rebase true
#git config --global rebase.autostash true
#git config --global log.follow true
#git config --global diff.indentHeuristic true
#git config --global gpg.program gpg
#git config --global commit.gpgsign true
[alias]
cp = cherry-pick
lg = log --oneline --decorate --graph --all
tick = !echo $1 >> $1 && git add $1 && git commit -m $1
ll = log --branches --not --remotes --simplify-by-decoration --decorate --oneline
unpushed = log --branches --not --remotes --simplify-by-decoration --decorate --oneline
grog = log --graph --format=format:'%C(auto)%h %C(cyan)%aD%C(dim white) %an %C(green)(%ar)%C(bold yellow)%d%n %C(auto)%s%C(reset)'
[core]
autocrlf = false
ignorecase = false
editor = /usr/bin/vim
[push]
default = simple
[color]
ui = true
[branch]
autosetuprebase = always
[pull]
rebase = true
[rebase]
autostash = true
[log]
follow = true
[diff]
indentHeuristic = true
[gpg]
program = gpg
[commit]
gpgsign = true