Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyzes git branch differences, merge bases, commit history and changed files to prepare PR or commit information.
Use this skill ↓59% 73%+14 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 13 of 22 without it.
I need to pass a merge base commit hash into a shell script in my repository to get a pipe-separated commit log. What is the command structure for running this commit history helper script?
Invokes scripts/get_commit_history.sh with the merge base commit as an argument
3 of 3 safety checks passed
This Skill provides comprehensive git repository analysis capabilities for understanding branch changes, commit history, and code differences.
Use this Skill when you need to:
Get the repository's default branch (usually main or master):
git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@'
This identifies the base branch for comparison.
Determine where the current branch diverged from the default branch:
# Get merge base
git merge-base origin/<default-branch> HEAD
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.