Task: Download a GitHub Pull Request as a Unified Diff
Task: Download a GitHub Pull Request as a Unified Diff: a task in Terminal-Lego-15k (Harbor dataset). GitHub provides a way to download the changes contained in a pull request as a unified diff format. Your task is to demonstrate knowledge of this technique by writing a shell script that, given a…
The task
GitHub provides a way to download the changes contained in a pull request as a unified diff format. Your task is to demonstrate knowledge of this technique by writing a shell script that, given a GitHub repository and pull request number, constructs the correct URL and downloads the pull request as a unified diff file.
Part of PrimeIntellect/Terminal-Lego-15k.