MWB
MWB

Reputation: 1879

What do the different colors of my branches is gitHub mean?

In GitHub, I see different colors for my branches, when I go to: [Insights] - [Networks]. Some are in blue, others in green. I cannot find an explanation.

enter image description here

Does anyone know what the different colors mean? Are there other flavors? Like red, orange, purple...

Upvotes: 5

Views: 2681

Answers (1)

Dinko Pehar
Dinko Pehar

Reputation: 6061

It's called merge commit.

If you are only one using it, I think it happens after you edit something directly on github and commit it (let's say you are using master branch). And then locally, do git pull which merges changes from github's master to your's master. And when you push changes using git push, github represents it as merge commit.

EDIT:

What I mean by merge commit, you can click on the black dot:

First image

And it will open commit with files changed and such, but on right, you can read:

Second

Upvotes: 2

Related Questions