Search code examples
gitversion-controlgithubdiffcommit

Github commit, diff does not show changes


I recently made a commit to a repo on github and now when I want to see the differences, for one of the files all I get is:

1273 additions, 678 deletions not shown

What is the cause of this? How can I see the differences?


Solution

  • Github doesn't show large diffs probably because it is quite js-intensive and will likely freeze your browser. Solution would be to not rely on github for browsing diffs which you can see in any git-gui you have

    e.g. tig is pretty handy.

    $ tig commithash