Skip to content

Instantly share code, notes, and snippets.

@abrodkin
Created September 22, 2024 00:21
Show Gist options
  • Save abrodkin/6330aae17da5bbbb05c05f8a0e6d67ab to your computer and use it in GitHub Desktop.
Save abrodkin/6330aae17da5bbbb05c05f8a0e6d67ab to your computer and use it in GitHub Desktop.

Find the divergence point between the current and XXX branches.

git rev-list -1 git rev-list ...XXX | tail -1^

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