Reputation: 456
Why is the yellow-branch not jutting out and then back in on the second to last commit?
I made a branch via the git command line and took the following steps:
git checkout master
git merge yellow-branch
git push
git branch -d yellow-branch
While I was working on the yellow-branch, the network graph was correctly displaying a separate line beneath the master branch for yellow-branch. Was it because I used the cli and not the point and click method on the github website?
EDIT
I was looking at another repo that has the branches jutting out (below). The master branch has at least one commit to that is made while the other branch is not yet merged. Maybe this branch jutting out only occurs while one branch is not even with its parent branch?
Upvotes: 2
Views: 1114
Reputation: 456
This is expected behavior because both branches have the exact same commit history. The branches would remain separate in the network graph representation if they had a divergent history.
Upvotes: 3