-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
43 lines (34 loc) · 1005 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
40
41
42
43
[user]
# set in ~/.gitconfig_local
[github]
# set in ~/.gitconfig_local
[include]
path = ~/.gitconfig_local
[alias]
add-commit = !git add -A && git commit
logg = log --color --graph --pretty=format:'%C(bold yellow)%h%C(reset) - %C(green)[%cr]%C(reset) %s - %C(dim white)%an%C(reset) %C(bold red)%d%C(reset)' --abbrev-commit
tags = tag --sort=taggerdate --format='%(color:bold yellow)%(refname:short)%(color:reset) - %(color:green)[%(taggerdate:relative)]%(color:reset) %(subject) - %(color:dim white)%(taggername)%(color:reset)'
branches = branch -a -vv
contributors = shortlog --summary --numbered
[pull]
rebase = true
[push]
default = matching
[color]
ui = auto
[color "diff"]
meta = yellow bold
frag = blue bold # line info
old = red # deletions
new = green # additions
[color "branch"]
current = yellow bold
local = green
remote = blue
[color "status"]
added = green
changed = yellow
untracked = red
branch = blue bold
localBranch = blue bold
remoteBranch = blue bold