Skip to content

Instantly share code, notes, and snippets.

@furudean
Last active March 16, 2024 05:49
Show Gist options
  • Select an option

  • Save furudean/7ed3ef76cc73c1b524c1dbfa01e4ff86 to your computer and use it in GitHub Desktop.

Select an option

Save furudean/7ed3ef76cc73c1b524c1dbfa01e4ff86 to your computer and use it in GitHub Desktop.
Git config
[user]
email = [email protected]
name = Merilynn Bandy
signingkey = 3D463BCC4E2C6CE1
[commit]
gpgsign = true
[pull]
rebase = true
[rebase]
autoStash = true
[alias]
graph = log --graph --abbrev-commit --decorate --branches --color --date=short \
--pretty=format:'%C(auto)%h%Creset -%C(auto)%d%Creset %s %C(magenta)<%an>%Creset %C(dim white)(%cr)'
whoami = !printf '%s <%s>\n' \"$(git config user.name)\" \"$(git config user.email)\"
web = "!f(){ open `git config --get remote.origin.url | sed -Ee 's#(git@|git://)#https://#' -e 's@com:@com/@'`| head -n1; }"
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
[interactive]
diffFilter = diff-so-fancy --patch
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment