summaryrefslogtreecommitdiff
path: root/git/.config/git/config
diff options
context:
space:
mode:
Diffstat (limited to 'git/.config/git/config')
-rw-r--r--git/.config/git/config36
1 files changed, 36 insertions, 0 deletions
diff --git a/git/.config/git/config b/git/.config/git/config
new file mode 100644
index 0000000..dba3510
--- /dev/null
+++ b/git/.config/git/config
@@ -0,0 +1,36 @@
+[user]
+ email = mattst88@gmail.com
+ name = Matt Turner
+ signingkey = 0xACEB29740C9A4E97!
+[includeIf "gitdir:~/projects/gentoo/"]
+ path = ~/projects/gentoo/.gitconfig
+[color]
+ ui = auto
+[rebase]
+ autosquash = true
+[core]
+ autocrlf = false
+ filemode = false
+ pager = less -+F
+[diff]
+ renames = true
+[push]
+ default = simple
+[alias]
+ fixes = show -s --pretty='format:Fixes: %h (\"%s\")'
+ co = checkout
+ br = branch
+ shwo = show
+ grpe = grep
+ lgo = log
+ last-commit-to = log -n 1 --pretty=format:%H
+[init]
+ defaultBranch = main
+[fixup]
+ menu = fzf --height '60%' \
+ --bind 'tab:toggle-preview' \
+ --bind 'space:preview-page-down' \
+ --preview 'git show --color {+1}' \
+ --preview-window=up:80% \
+ --preview-window cycle \
+ --prompt 'Select commit: '