What are the green and red gems beside Github Gist

2019-06-15 01:51发布

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.

Red and green dots.

标签: github gist
1条回答
Evening l夕情丶
2楼-- · 2019-06-15 02:09

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.

enter image description here

查看更多
登录 后发表回答