Skip to content

Instantly share code, notes, and snippets.

@rurumimic
Created September 13, 2022 01:10
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 rurumimic/82b58259cc43debf546461d45f904a0b to your computer and use it in GitHub Desktop.
Save rurumimic/82b58259cc43debf546461d45f904a0b to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name =
email =
[core]
editor = vi
pager = delta
[interactive]
diffFilter = delta --color-only
[add.interactive]
useBuiltin = false # required for git 2.37.0
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
side-by-side = true
line-numbers = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[alias]
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all
@rurumimic
Copy link
Author

git lg -n 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment