-
Notifications
You must be signed in to change notification settings - Fork 3
/
gitconfig
34 lines (34 loc) · 1.06 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
[core]
excludesfile = /Users/mattmirande/.gitignore_global
editor = mvim -f
[user]
name = busticated
email = [email protected]
# signingkey = use `gpg --list-secret-keys --keyid-format LONG` to find keyid
# see: https://docs.github.com/en/github/authenticating-to-github/managing-commit-signature-verification/telling-git-about-your-signing-key
[github]
user = busticated
[pull]
rebase = false
[push]
default = matching
autoSetupRemote = true
[tag]
forceSignAnnotated = true
gpgsign = true
[commit]
gpgsign = true
[gpg]
program = /opt/homebrew/bin/gpg
[alias]
pullall = !sh ~/.dotfiles/bash/git-pullallsubdirs.sh
ignored = clean -dXn
hist = log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short
recommit = "!f() { for file in $(git show --pretty="format:" --name-only $1); do git add -p $file; done }; f"
mirror-update = !git fetch -p origin && git push --mirror
grab-pr = "!f() { git fetch origin pull/$1/head:pr/$1; git checkout pr/$1; }; f"
ingredients = diff-tree --no-commit-id --name-only -r
[init]
defaultBranch = main
[rerere]
enabled = true