-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitconfig
56 lines (47 loc) · 1.2 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
48
49
50
51
52
53
54
55
56
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
recent = for-each-ref --sort=-committerdate --count=20 --format='%(refname:short)' refs/heads/
change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f"
[color]
diff = auto
branch = auto
status = auto
[core]
excludesfile = ~/.gitignore
editor = /usr/bin/vim
autocrlf = input
[merge]
ff = false
[rerere]
enabled = 1
[user]
name = Darian Moody
email = [email protected]
# Not private, only used to decide
# which key to select in GnuPG
signingkey = 6429A212EFE7D796
[github]
user = djm
[hub]
protocol = ssh
[push]
default = simple
[commit]
template = ~/.git_commit_msg.txt
gpgsign = true
[gpg]
program = gpg
[pager]
branch = false
tag = false
[pull]
ff = only
[init]
defaultBranch = main