Task: Finding What Branch a Git Commit Came From
Task: Finding What Branch a Git Commit Came From: a task in Terminal-Lego-15k (Harbor dataset). Given a Git repository with multiple branches and commits, your task is to write a shell script that determines which branch(es) a specific Git commit belongs to, given its SHA-1 hash value.
The task
Given a Git repository with multiple branches and commits, your task is to write a shell script that determines which branch(es) a specific Git commit belongs to, given its SHA-1 hash value.
Part of PrimeIntellect/Terminal-Lego-15k.