-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
26 lines (26 loc) · 737 Bytes
/
.gitconfig
File metadata and controls
26 lines (26 loc) · 737 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
26
[push]
default = simple
[user]
name = Griffin Moe
email = me@griffinmoe.com
[core]
excludesFile = ~/.gitignore_global
editor = vim
untrackedCache = true
[blame]
coloring = highlightRecent
date = short
[alias]
pr = "!pr() { [[ \"$#\" -eq \"2\" ]] && git fetch upstream pull/$1/head:$2 || echo 'format: git pr <pr-id> <local-branch-name'; }; pr"
conflicts = "diff --relative='./' --name-only --diff-filter=U"
fork-point = "!fp() { [[ \"$#\" -eq \"1\" ]] && git merge-base $1 HEAD || git merge-base origin/master HEAD; }; fp"
new = !git init && git symbolic-ref HEAD refs/heads/main
[diff]
tool = vimdiff
algorithm = histogram
[difftool]
prompt = false
[init]
defaultBranch = main
[rerere]
enabled = true