git树坏了 [英] git tree is broken

查看:175
本文介绍了git树坏了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何让我的git树在GUI git查看器上正确显示?
在所有GUI应用程序中,我的git树没有开始,实际上比初始提交更进一步。我是我公司唯一面临这个问题的人。我不知道为什么,但我的git树看起来完全不同于我公司的其他人。



我尝试了以下两个应用程序来查看树:


  1. gitkraken


  2. 源代码树




  3. I在这两个应用程序中,我删除了所有存储库,并从新目录中克隆。



    下面是来自源代码树中git日志开头和结尾的2张图片



    第一张图片显示了我的开发分支(红色分支)永久停留在一个奇怪的地方,我不确定是否可以推送到该分支去掌握没有历史突破的分支。第二张图片显示了我的分行(红线)旁边的主人(蓝线)与其他分行下降到无穷远。




    这在回购时不是问题,因为公司中的其他人在查看GUI时都有一个很好的分支树。我在哪里可以找到 git





    解决方案

    我找到了真正的答案,我重新格式化了计算机,现在可以很好地参考,这里是树的外观。请注意,没有任何内容不会进入任何内容。




    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?

    解决方案

    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.

    这篇关于git树坏了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆