Skip to content

Comparing diff between commit in GitHub

Published: at 08:24 AM

Getting diff view between tags is quite trivial to do, just go to Releases and you’ll find a button to compare between releases. But lately, I need to see diff between two commits.

To get diff view for different commit, you can visit Github using the following URL: https://github.com/adityadaniel/nikmat-ios/compare/${first_commit_hash}..${second_commit_hash}

Source: <https://docs.github.com/en/pull-requests/committing-changes-to-your-project/viewing-and-comparing-commits/comparing-commits