HF RL Explorer

Task: Hard Delete an Orphan Commit in Git

Task: Hard Delete an Orphan Commit in Git: a task in Terminal-Lego-15k (Harbor dataset). You are given a Git repository with a specific commit history structure. There is an orphan commit (a commit not reachable from any branch) that you need to permanently delete from the repository. The goal is…

The task

You are given a Git repository with a specific commit history structure. There is an orphan commit (a commit not reachable from any branch) that you need to permanently delete from the repository. The goal is to physically remove this commit so that it no longer exists in the Git object database.

Part of PrimeIntellect/Terminal-Lego-15k.