How to download the diff file from a github PR

Today I wanted to download the PR diff for using in an AI code tool code review. Found that if you add .diff or .patch to the github PR URL you can download the diff directly.

About the Author

Yogi

24 years of experience in various layers of software. Primarily experienced in system side software design and development on server management software. Interested in linux development in x86 and arm architecture.