Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
324 views
in Technique[技术] by (71.8m points)

atlassian 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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...