-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
39 lines (39 loc) · 1.01 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
[alias]
co = checkout
st = status
br = branch
cl = clone
ci = commit
cim = commit -m
ciam = commit -am
lb = !git reflog show --pretty=format:'%gs ~ %gd' --date=relative | grep 'checkout:' | grep -oE '[^ ]+ ~ .*' | awk -F~ '!seen[$1]++' | head -n 10 | awk -F' ~ HEAD@{' '{printf(\" \\033[33m%s: \\033[37m %s\\033[0m\\n\", substr($2, 1, length($2)-1), $1)}'
po = remote prune origin
pu = remote prune upstream
lsb = !git branch -vv | grep 'gone' | cut -d' ' -f3
dsb = !"for branch in $(git branch -vv | grep 'gone' | cut -d' ' -f3); do git br -D $branch; done"
[user]
email = russ.tolle@gmail.com
name = Mac21
[push]
default = simple
[credential]
helper = store
[color]
diff = always
branch = always
status = always
[core]
excludesfile = /home/toller/.gitignore_global
filemode = false
[diff]
tool = vimdiff2
[status]
showUntrackedFiles = all
[merge]
tool = vimdiff2
[url "git@gitlab:"]
insteadOf = https://code.veracitynetworks.com/
[pull]
rebase = true
[init]
defaultBranch = master