Reputation: 3607
I'm trying to follow a git branching strategy like the one in the image below:
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:
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:
git checkout -b dev
(while on master
)dev
git checkout -b release-1.0 dev
release-1.0
git checkout master
git merge --no-ff release-1.0
git checkout dev
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
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!
Upvotes: 3