-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitconfig
35 lines (33 loc) · 909 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
# vi: ft=gitconfig tabstop=4 shiftwidth=4 noexpandtab
[user]
name = Andrew Sardone
email = [email protected]
[color]
ui = auto
[core]
excludesfile = $HOME/.gitexcludes
attributesfile = $HOME/.gitattributes
[alias]
co = checkout
shortsha = rev-parse --short HEAD
st = status --short --branch
ts = st
lg = log --graph --pretty=format:'%Cred%h%Creset %C(cyan)%an%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
recent = ! git reflog | grep 'checkout: moving from' | head -n 50 | egrep -oh ' \\S+$' | awk '!x[$0]++'
[diff "localizablestrings"]
textconv = "iconv -f utf-16 -t utf-8"
; [credential]
; helper = osxkeychain
[hub]
http-clone = true
[github]
user = andrewsardone
[merge]
defaultToUpstream = true
[commit]
verbose = true
; gpgsign = true
[init]
defaultBranch = main
[includeIf "gitdir:~/source/code.amazon.com/"]
path = .gitconfig-amazon