-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
36 lines (30 loc) · 954 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
[user]
email = [email protected]
name = Alex Harford
signingkey = 143A42D3D5ED1D7A334D46236CDDEE27507C4FCB
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = red
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ci = commit -v
sui = !(git submodule sync --recursive && git submodule update --init --recursive)
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 "
[url "[email protected]:saucelabs"]
insteadOf = https://github.com/saucelabs
[commit]
gpgsign = true
[push]
default = current