Skip to content

Instantly share code, notes, and snippets.

@jbyman
Last active May 29, 2024 06:43
Show Gist options
  • Save jbyman/5bad91095b02311c5e247d8abd36ce1d to your computer and use it in GitHub Desktop.
Save jbyman/5bad91095b02311c5e247d8abd36ce1d to your computer and use it in GitHub Desktop.
Git Config
[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