Skip to content

Instantly share code, notes, and snippets.

@gwpantazes
Last active September 1, 2022 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gwpantazes/acfa4eb822d6e8fe068ed5867a2abe6c to your computer and use it in GitHub Desktop.
Save gwpantazes/acfa4eb822d6e8fe068ed5867a2abe6c to your computer and use it in GitHub Desktop.
My .gitconfig Preferences
[core]
pager = "if command -v diff-so-fancy > /dev/null; then diff-so-fancy | less --tabs=4 -RFX; else less --tabs=4 -RFX; fi"
[interactive]
diffFilter = "if command -v diff-so-fancy > /dev/null; then diff-so-fancy --patch; else less --tabs=4 -RFX; fi"
[alias]
timeline = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all --since='90 days ago'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment