I was wondering what these colors green and red signify! Also what is this '++' besides green colored number for?
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.
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.
53,994 ++ green colour indicate current user added lines and 39,917 -- red colour indicate current user remove or replace lines.
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.
The color. ui is a meta configuration that includes all the various color. * configurations available with git commands.
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--
!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With