compare commits git code example
Example 1: github compare commits
github.com/<username>/<repo_name>/compare/<commit1>...<commit2>
Example 2: git diff two commits
-> git diff 0da94be 59ff30c > my.patch
-> git apply my.patch
github.com/<username>/<repo_name>/compare/<commit1>...<commit2>
-> git diff 0da94be 59ff30c > my.patch
-> git apply my.patch