-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
64 lines (59 loc) · 1.91 KB
/
Copy path.gitconfig
File metadata and controls
64 lines (59 loc) · 1.91 KB
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
62
63
64
[color]
ui = auto
diff = auto
status = auto
branch = auto
[core]
excludesfile = /Users/teferi/.gitignore_global
editor = vim
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --decorate=full --abbrev-commit --
tefold = log --pretty=tefold --no-merges
tef = log --pretty=tef --no-merges --date=relative
tefm = log --pretty=tef --date=relative
monday = log --pretty=tef --no-merges --since='last friday' --date=relative
wakeup = log --pretty=tef --no-merges @{yesterday}..HEAD --date=relative
upstream = log --pretty=tef --no-merges HEAD..@{upstream} --date=relative
pp = !git fetch && git upstream && git rebase @{upstream}
ppp = !git pp && git push
srs = !git stash && git review && git stash pop
ch = checkout
cp = cherry-pick
co = commit
st = status
br = branch
ss = show --stat
s = show --stat
rhup = reset --hard @{upstream}
ccc = cherry-pick --continue
search = log --pretty=tef --source --all -G
when = !stat -f '%Sm' $(git rev-parse --show-toplevel)/.git/FETCH_HEAD
[pretty]
tefold = %Cred%h%Creset -%C(yellow)%d%Creset %s %Cblue(%aN)%Cgreen(%cr)%Creset
split = %H|%s|%aN|%cr
tef = %Cred%h%Creset -%<(50,mtrunc) %s %Cblue(%aN)%C(auto)%d %C(yellow)(%cd)%Creset
[pull]
rebase = true
[push]
default = current
[socks]
#[http]
# proxy = socks5://localhost:12345
#[https]
# proxy = socks5://localhost:12345
[gitreview]
username = kzaitsev
[commit]
template = /Users/teferi/.git-commit-template
verbose = true
[diff]
indentHeuristic = true
[rebase]
autostash = true
[stash]
showPatch = true