gitaliases/.gitconfig
2024-11-25 23:31:19 +01:00

6 lines
296 B
INI

[alias]
lg = log --oneline --decorate --date=relative --graph
remove-gone-branches = "!git branch -vv | sed 's/^\\*//' | grep ': gone]' | awk '{print $1}' | (xargs git branch --delete 2>/dev/null || echo 'No branches to delete')"
root = rev-parse --show-toplevel
word-diff = diff --word-diff