Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git color code for contributor page

Tags:

git

github

egit

I was wondering what these colors green and red signify! Also what is this '++' besides green colored number for?

enter image description here

Thanks,

Before you down-vote this question, please look at this link What are the green and red gems beside Github Gist Revisions There it looks like green signify for deletion and red for addition! Although I admit that looks counter-intuitive. Thats why I am asking to be sure. Thanks.

like image 887
Tintin Avatar asked Dec 03 '13 23:12

Tintin


People also ask

What is green and red in git?

Green shows file is in git repository and committed with latest changes. Red shows file is in git repository but latest changes has not been committed. If you will hit git commit command only red marked file will be select to commit.

What do the green and red numbers mean on github?

53,994 ++ green colour indicate current user added lines and 39,917 -- red colour indicate current user remove or replace lines.

What does yellow mean in github?

Green means the branch is ahead of its remote (green light to push) Red means the branch is behind its remote. Yellow means the branch is both ahead of and behind its remote.

What is color UI in git?

The color. ui is a meta configuration that includes all the various color. * configurations available with git commands.


1 Answers

This indicates how many lines of code changed in the commits by this user.

In this case the user has added 2459 and deleted 180 lines of code in 4 commits.

Note: GitHub treats line changes as deletion and addition:

- "Orginal Text"
+ "Orginal 2 Text"

Would result in 1 ++ / 1--!

like image 86
ChrisG Avatar answered Oct 17 '22 02:10

ChrisG