-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitconfig
40 lines (40 loc) · 1.13 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
[alias]
a = add
br = branch
ci = commit
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 "
cl = clone
co = checkout
cp = cherry-pick
d = "!f() { git diff --color "$1"^.."$1"; }; f"
dlc = diff --cached HEAD^
fucked = reset --hard HEAD
i = init
gr = log --graph --color --pretty=format:"%C(yellow)%h\\ %Cgreen%cr\\%Cred%d\\ %Creset%s%Cblue\\ [%cn]"
le = log --oneline --decorate
ll = log --pretty=format:"%C(yellow)%h\\ %Cgreen%cr\\%Cred%d\\ %Creset%s\\ %Cblue\\ [%cn]" --decorate --numstat
ls = log --pretty=format:"%C(yellow)%h\\ %Cgreen%cr\\%Cred%d\\ %Creset%s\\ %Cblue\\ [%cn]" --decorate
s = status --branch --short
[color]
ui = auto
[core]
fileMode = true
[credential]
helper = store
[diff "ansible-vault"]
textconv = ansible-vault view
cachetextconv = true
[fetch]
prune = true
[gpg]
program = gpg2
[init]
defaultBranch = master
[pull]
rebase = true
[push]
default = current
[user]
name = Carl Bennett
email = [email protected]
signingkey = A8F24410