aensm
aensm

Reputation: 3607

Github network graph not displaying correctly

I'm trying to follow a git branching strategy like the one in the image below:

git branching strategy

However, when I branch from develop into release, and then merge the release branch back into develop and master, the network graph on Github displays the following:

Github network graph

This makes it looks as if develop was branched from release, and not vice versa as it should be (especially once the release branch is deleted and its name no longer appears).

I followed the steps from this tutorial exactly:

  1. git checkout -b dev (while on master)
  2. make some changes and commit to dev
  3. git checkout -b release-1.0 dev
  4. make some changes and commit to release-1.0
  5. git checkout master
  6. git merge --no-ff release-1.0
  7. git checkout dev
  8. git merge --no-ff release-1.0

Is there any way to get the Github network graph to display correctly? (either by changing a setting in Github or changing the steps taken to branch and merge)

Upvotes: 2

Views: 3008

Answers (1)

aensm
aensm

Reputation: 3607

Sounds like GitHub is just not very good at displaying network graphs. For those who are curious, I just checked out GitKraken, and it seems to do a fantastic job at display network graphs. I also tried it out with a much more complicated repo I have and it is displaying things very nicely!

GitKraken network graph

Upvotes: 3

Related Questions