Skip to content

Instantly share code, notes, and snippets.

@Apreche
Last active August 9, 2022 22:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Apreche/889248 to your computer and use it in GitHub Desktop.
Save Apreche/889248 to your computer and use it in GitHub Desktop.
[user]
name = Scott Rubin
email = apreche@frontrowcrew.com
signingkey = 3AED85D3D52E7843
[core]
attributesfile = ~/.gitattributes
pager = less -r
[init]
defaultBranch = main
[color]
ui = true
[rerere]
enabled = true
autoupdate = true
[alias]
lga = log --graph --decorate --oneline --all
lb = !git reflog show --pretty=format:'%gs ~ %gd' --date=relative | grep 'checkout:' | grep -oE '[^ ]+ ~ .*' | awk -F~ '!seen[$1]++' | head -n 10 | awk -F' ~ HEAD@{' '{printf(\" \\033[33m%s: \\033[39m %s\\033[0m\\n\", substr($2, 1, length($2)-1), $1)}'
co = checkout
checkuot = checkout
tags = !git tag | sort -g
[commit]
gpgsign = true
[push]
gpgsign = if-asked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment