Search code examples
gitatlassian-sourcetree

git tree is broken


How do I get my git tree to show correctly on a GUI git viewer? My git tree in all GUI apps has no beginning and actually goes further below than the initial commit. I am the only one facing this problem in my company. I have no idea why but my git tree looks completely different than everyone else in my company.

I tried the following two apps to view the tree:

  1. gitkraken

  2. source tree

I with both apps I deleted all my repositories and cloned from a fresh directory.

Below are 2 image from the start and end of the git log in source tree

The first image shows my develop branch (the red one) is permanently stuck in a weird spot where I am not sure if I can push to that branch to master without history breaking.

The second image shows my branch (the red line) next to master (the blue line) going down into infinity with other branches.

This is not a problem with the repos as everyone else in the company has a nice branching tree when looking at a GUI. Where would I start to identify the problem with git?

develop branch

enter image description here


Solution

  • I have found the true answer, I reformatted the computer and now it works great for reference here is what the tree should look like. Notice there are no line going into nothing.

    enter image description here