-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
81 lines (64 loc) · 2.14 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[user]
email = [email protected]
name = Brian Olpin
[http]
sslVerify = false
[core]
editor = vim --noplugin
autocrlf = false
excludesfile = /Users/bolpin/.gitignore
[push]
# Only push branches that have been set up to track a remote branch(?)
default = current
[branch]
autosetuprebase = always
[alias]
gl-fix = !sh -c 'git update-index --no-skip-worktree Gemfile.lock && git checkout -- Gemfile.lock && git update-index --skip-worktree Gemfile.lock'
co = checkout
cleanup = !git remote prune origin && git gc && git clean -df && git stash clear
l = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
; loc = config --local
; glo = config --global
; peek = fetch -v --dry-run
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
type = cat-file -t
dump = cat-file -p
whitespace = nowarn
ci = commit
st = status
br = branch
; git ls-files -v| grep '^S' # to list all marked files using git-update-index --skip-worktree
gemfile-lock-fix = !sh -c 'git update-index --no-skip-worktree Gemfile.lock && git checkout -- Gemfile.lock && git update-index --skip-worktree Gemfile.lock'
gemfile-lock-alt-fix = !sh -c 'git fetch --all && git checkout origin/master -- Gemfile.lock && git commit -m "tmp" --no-verify && git pull rebase'
yl-fix = !sh -c 'git update-index --no-skip-worktree yarn.lock && git checkout -- yarn.lock && git update-index --skip-worktree yarn.lock'
really-refresh = !sh -c 'git update-index --really-refresh && git reset --hard'
praise = blame
recent = shortlog -sn --since='7 days'
[help]
autocorrect = 1
[github]
user = bolpin
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
[merge]
; tool = vimdiff
conflictstyle = diff3
tool = p4merge
[mergetool]
prompt = false
keepBackup = false
[diff]
tool = vimdiff
[difftool]
prompt = false
[pull]
rebase = true
[init]
templatedir = ~/.git-templates
[credential]
helper = manager-core