-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
42 lines (42 loc) · 1.79 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]
name = Brian Clements
email = brian@brianclements.net
signingkey = 0xda859a87
[core]
editor = vim
ignore = dirty
[alias]
co = checkout
cm = commit -m
cma = commit -a -m
st = status
br = branch
ts = tag -s
hist = log --all --graph --pretty=format':%C(yellow)%h%C(bold green)%d%Creset %s %C(white)[%C(blue)%an%Creset, %C(dim red)%ar%C(white)]'
hist2 = log --all --graph --pretty=format:'%C(yellow)%h%C(bold green)%d%Creset | %C(dim white)%ad (%ar), %C(blue)%an %n'' * %s%n'' %b%n''%GG%n''%C(dim white)-----------------------------------------------'
bhist = log --graph --pretty=format:'%C(yellow)%h%C(bold green)%d%Creset %s %C(white)[%C(blue)%an%Creset, %C(dim red)%ar%C(white)]'
bhist2 = log --graph --pretty=format:'%C(yellow)%h%C(bold green)%d%Creset | %C(dim white)%ad (%ar), %C(blue)%an %n'' * %s%n'' %b%n''%GG%n''%C(dim white)-----------------------------------------------'
hist-blk = log --all --graph --pretty=format:'%h -%d | %an | %s [%ar]'
hist2-blk = log --all --graph --pretty=format:'%h%d | %ad (%ar), %an %n'' * %s%n'' %b%n''%GG%n''-----------------------------------------------'
bhist-blk = log --graph --pretty=format:'%h%d %s [%an, %ar]'
bhist2-blk = log --graph --pretty=format:'%h%d | %ad (%ar), %an %n'' * %s%n'' %b%n''%GG%n''-----------------------------------------------'
type = cat-file -t
dump = cat-file -p
stash-unapply = !git stash show -p | git apply -R
tags = tag -l -n1
cp = cherry-pick
find = log --pretty=\"format:%Cgreen%H %Cblue%s%Creset\" --name-status --grep
[merge]
conflictstyle = diff3
[push]
default = tracking
autotag = v*.*
autotag = v*.*.*
[branch]
autosetuprebase = always
[credential]
helper = cache
[commit]
gpgsign = true
[gpg]
program = gpg2