Last active
May 29, 2024 06:43
-
-
Save jbyman/5bad91095b02311c5e247d8abd36ce1d to your computer and use it in GitHub Desktop.
Git Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pager] | |
branch = false | |
[alias] | |
unstage = !git checkout origin/main -- "$1" && git commit --amend --no-edit | |
[alias] | |
pushf = push -f | |
[alias] | |
delete = !git branch -D $1 && git push origin --delete $1 && : | |
[alias] | |
mydiff = !git diff main... | |
[alias] | |
changed-files = diff --name-status main | |
[user] | |
name = Jake Byman | |
email = [email protected] | |
[includeIf "gitdir:~/code/common-room/"] | |
path = ~/code/common-room/.gitconfig | |
[commit] | |
template = /Users/jbyman/.gitmessage | |
[core] | |
pager = delta | |
editor = nvim | |
[interactive] | |
diffFilter = delta --color-only | |
[delta] | |
navigate = true # use n and N to move between diff sections | |
side-by-side = false | |
syntax-theme = GitHub | |
[merge] | |
conflictstyle = diff3 | |
[diff] | |
colorMoved = default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment