-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig_main
46 lines (46 loc) · 1.44 KB
/
.gitconfig_main
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
[user]
email = [email protected]
name = Brian Clifton
signingkey = 50ED18CA5C4C0F73
[core]
# two-space tabs
pager = less -FXR -x2
editor = vim
autocrlf = false
safecrlf = false
trustctime = false
[color]
# turn on color
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
[color "branch"]
current = cyan bold
local = green bold
remote = red bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green bold
changed = yellow bold
untracked = red
[color "sh"]
branch = yellow
[alias]
l = log --graph --date=short --decorate --oneline --all
lg = log --graph --all --pretty=format:'%C(yellow)%h%Creset -%Cred%d%Creset %s %C(bold green)(%cr) %Creset%C(magenta)<%ae> %C(bold cyan)%an%Creset' --abbrev-commit --branches
lg1 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
co = checkout
br = branch
[push]
default = simple
#[url "ssh://[email protected]/"]
# insteadOf = https://github.com/
[commit]
# gpgsign = true