-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.gitconfig
More file actions
25 lines (25 loc) · 730 Bytes
/
.gitconfig
File metadata and controls
25 lines (25 loc) · 730 Bytes
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
[pull]
rebase = true
[user]
name = Eric Duncan
email = me@eduncan911.com
signingkey = B37A3ECED23E2ABE
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[url "git@github.com:"]
insteadOf = https://github.com/
[commit]
gpgsign = false
[gpg]
program = gpg
[core]
excludesfile = /Users/eric/.gitignore
editor = nvim
[alias]
squash = "!f(){ git reset --soft HEAD~${1} && git commit --edit -m\"$(git log --format=%B --reverse HEAD..HEAD@{1})\"; };f"
cleanup = "!git branch --merged | grep -v '\\*\\|master|develop|dev' | xargs -n 1 git branch -d"
sshow = "!f() { git stash show stash^{/$*} -p; }; f"
sapply = "!f() { git stash apply stash^{/$*}; }; f"
new = checkout -b