What are the green and red gems beside Github Gist Revisions

社会主义新天地 提交于 2019-12-10 12:31:58

问题


I have just started to use Github and have been doing some tests with Gist, I notice beside each revision there are little green and red dots of varying amounts. Does anyone know what they are?

The following image, for example, is captured from this gist.


回答1:


Those red and green dots represent insertions and deletions in the revision, respectively. There is something similar associated with commits on GitHub (actually, you see the same information when committing in Git), except there you can hover the mouse pointer over the dots and get more information. For example, when hovering over the colored squares in this commit you can see the number of additions and deletions.



来源:https://stackoverflow.com/questions/8328947/what-are-the-green-and-red-gems-beside-github-gist-revisions

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