简体   繁体   English

Tig不显示行,而是〜T〜B(或类似)

[英]Tig doesn't show lines but instead ~T~B (or similiar)

I am using tig to view git history but the interface is not showing the lines any longer, see picture. 我正在使用tig查看git历史记录,但界面不再显示行,请参见图片。

I'm sadly on a Windows environment running git bash. 可悲的是,我在运行git bash的Windows环境中。 Does anyone know how I can get the lines instead? 有人知道我该如何接电话吗?

tig错误

You want to change the "graphics" configuration to something your system supports. 您想将“图形”配置更改为系统支持的配置。

Hit ~ until you see something you like; ~直到看到喜欢的东西; You'll see something in the statusbar that looks like set line-graphics = utf-8 . 您会在状态栏中看到类似于set line-graphics = utf-8

Then edit your $HOME/.gitconfig and add a that line-graphics value to a tig section: 然后编辑$HOME/.gitconfig并将该线形图形值添加到$HOME/.gitconfig部分:

[tig]
  line-graphics = utf-8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM