-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
61 lines (61 loc) · 1.62 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
57
58
59
60
61
[alias]
who = "!echo ; echo \"working as:\" ; echo \"\\t `git config user.name`\" ; echo \"\\t `git config user.email`\" ; echo"
what = "!git who ; git diff"
st = status
d = diff
ci = commit -v
cia = commit -v -a
co = checkout
cp = cherry-pick
l = log
ll = log -p
lt = log trunk..
llt = log -p trunk..
lm = log master..
llm = log -p master..
b = branch
up = pull
pick-all = !sh -c 'git co staging && git cp $1 && git up && git push && git co production && git cp $1 && git up && git push && git co master && git b -D staging && git b -D production' -
rmb = !sh -c '(git branch -D $1 || test 1) && git push origin :$1' -
parent-update = "!git fetch parent && git rebase parent/master"
consume = !sh -c 'git merge $1 && git rmb $1' -
hco = "!~/bin/git-hub-commit"
[user]
name = Eirik Dentz Sinclair
email = [email protected]
[pager]
color = true
[core]
editor = mvim --nofork
excludesfile = ~/.globalignore
ignorecase = false
[color]
diff = auto
status = auto
branch = auto
[push]
default = simple
[branch]
autosetuprebase = always # rebase when pulling
[format]
pretty = fuller
[hub]
protocol = ssh
[diff]
compactionHeuristic = true
[credential]
helper = cache --timeout=3600\n
[url "[email protected]:tallygo/gatekeeper-go.git"]
insteadOf = https://github.com/tallygo/gatekeeper-go
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "[email protected]:"]
insteadOf = https://github.com/
[init]
defaultBranch = main
[git-pair]
authors = Eirik Dentz Sinclair <[email protected]>
email = [email protected]