Task: Squash Last N Commits in a Git Repository
Task: Squash Last N Commits in a Git Repository: a task in Terminal-Lego-15k (Harbor dataset). You are given a Git repository located at /app/task file/repo/ . The repository has a history of 5 commits on the main branch. Your task is to squash the last 3 commits into a single commit with the…
The task
You are given a Git repository located at `/app/task_file/repo/`. The repository has a history of 5 commits on the `main` branch. Your task is to squash the last 3 commits into a single commit with the message `"Squashed commit"`.
Part of PrimeIntellect/Terminal-Lego-15k.