Skip to content

Instantly share code, notes, and snippets.

@heltonmarx
Created September 12, 2025 12:55
Show Gist options
  • Select an option

  • Save heltonmarx/38a53fdef7688ef8bdc4372674dc4424 to your computer and use it in GitHub Desktop.

Select an option

Save heltonmarx/38a53fdef7688ef8bdc4372674dc4424 to your computer and use it in GitHub Desktop.
Git config (vimdiff)
[diff]
tool = lvimdiff
[difftool "lvimdiff"]
cmd = lvim -f -d \"$LOCAL\" \"$REMOTE\"
[alias]
d = difftool
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
logline = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)%an <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
slog = log --graph --all --topo-order --pretty='format:%h %ai %s%d (%an)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment