github Diff Truncated error

天大地大妈咪最大 提交于 2019-12-12 09:57:18

问题


While making pull request in github and reviewing changes we got Diff Truncated error as shown below

Can anyone help to fix this issue


回答1:


It is possible the pull request triggers one of the limits mentioned by GitHub support.

Brian Levin @github:

We have some limits on diffs that we show in the browser in order to keep the pull request and compare pages working. Currently, we cut them off at:

  • 300 files,
  • a total diff of 1MB,
  • and an individual diff of 100KB.

If your diffs exceed the limits and can't be viewed online, you can always pull the changes locally and view the diff there. It may not be as convenient for you, but it'll get the job done.

The OP gyanu confirms:

it may be pull request has +20,932 −825 lines changes in branch

One solution would be to request the contributor to split his/her PR into multiple smaller PR.

The other, as mentioned, is to pull everything locally, and work with the diff there.



来源:https://stackoverflow.com/questions/23486701/github-diff-truncated-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!