Task: Discard Local Commits in Git
Task: Discard Local Commits in Git: a task in Terminal-Lego-15k (Harbor dataset). You are working in a Git repository where you have made local commits that you want to completely discard. Your local branch is ahead of the remote tracking branch ( origin/master ) by some commits, and you need to…
The task
You are working in a Git repository where you have made local commits that you want to completely discard. Your local branch is ahead of the remote tracking branch (`origin/master`) by some commits, and you need to reset your local branch so that it matches the remote branch exactly, discarding all local commits.
Part of PrimeIntellect/Terminal-Lego-15k.