# HG changeset patch # User Meredith Howard # Date 1628267668 18000 # Node ID 17d8ea40fb15a190fba99527808734736902f0ba # Parent fb0cbf65b7265dc9b5732951d8f4348a3cb01f81 add fork-point alias diff --git a/.gitconfig b/.gitconfig --- a/.gitconfig +++ b/.gitconfig @@ -30,6 +30,7 @@ glog = log --graph --pretty=onelinecustom recent = "!f() { git for-each-ref --count=20 --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${1:-refs/heads} ${@:2}; }; f" orphan = "!f() { git fsck --dangling | grep commit | cut -d' ' -f3 | xargs git show --compact-summary; }; f" + fork-point = merge-base --fork-point @{u} [pretty] onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset