-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
38 lines (38 loc) · 993 Bytes
/
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
[user]
name = Baylee Schmeisser
email = [email protected]
[core]
editor = vim
[alias]
cb = !git rev-parse --abbrev-ref head | pbcopy
deleteBranches = !git branch --merged | egrep -v '(master|gh-pages)' | xargs git branch -d
wip = !git commit --no-verify -m \"wip\"
retry = !git wip --amend
aa = add --all
ap = add --patch
ci = commit -v
ca = commit -v --amend
co = checkout
pf = push --force-with-lease
st = status
lg = log --stat --summary --show-signature
cleanup = !git fetch origin && git reset --hard origin/`git rev-parse --abbrev-ref HEAD`
open = !vim `git show --pretty="format:" --name-only HEAD`
work = config user.email "[email protected]"
fixup = commit --fixup
squash = commit --squash
review = !sh -c 'reflog-review'
[push]
default = current
[merge]
ff = only
[fetch]
prune = true
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[init]
defaultBranch = main
[pager]
branch = false