-
Notifications
You must be signed in to change notification settings - Fork 7
/
gitconfig
68 lines (68 loc) · 1.68 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
[user]
name = Blake Williams
email = [email protected]
[github]
user = BlakeWilliams
[init]
templatedir = ~/.git_template
defaultBranch = main
[color]
ui = true
[format]
pretty = oneline
[core]
excludesfile = ~/.excludes
whitespace = trailing-space,space-before-tab
[advice]
pushNonFastForward = false
statusHints = false
[commit]
template = ~/.gitmessage
gpgsign = false
verbose = true
[fetch]
prune = true
[push]
default = current
autoSetupRemote = true
[pull]
rebase = true
[merge]
ff = only
[alias]
aa = add --all
ap = !git add --all --intent-to-add && git add -p
c = commit
ca = commit --amend
ci = !hub ci-status -v
co = checkout
conflicts = diff --diff-filter=U
ctags = "!sh -c '[ -f .git/hooks/ctags ] || git init; .git/hooks/ctags' git-ctags"
d = diff
deets = show --pretty=full
ds = diff --staged
fuckit = !sh -c 'git add --all && git reset --hard'
longer = log --pretty='%C(yellow)%h%Creset - %s%n%C(green)%an%Creset commited %ar%n'
p = "![[ $(git config \"branch.$(git symbolic-ref --short HEAD).merge\") = '' ]] && git push -u || git push"
pf = p --force-with-lease
retro = log --since='7 days ago' --author=\"Blake Williams\"
standup = log --since=yesterday --author=\"Blake Williams\"
up = !git fetch origin && git rebase -i origin/master
squash = "!f() { git reset --soft $(git merge-base HEAD \"$@\") && git commit; }; f"
[status]
branch = 1
short = 1
[diff]
colorMoved = zebra
[credential]
helper = store
[log]
decorate = short
abbrevCommit = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[color "diff"]
meta = yellow