可以在Eclipse(EGIT)中更改缩短的GIT分支名称的长度吗?
我们将所有分支机构都带有JIRA票务键,例如ABC-1111
。当我们现在达到10,000张票时,我们到了abc-12345
,但是在开始时,使用Origin/
,Eclipse仅向我们展示Origin> Origin/abc-1234 ...
,这不是很有帮助。
可以以某种方式配置显示分支名称的盒子的大小吗?即使删除...
也可能会为更多数字提供足够的空间,这就是我们所需要的。
We prefix all our branches with the JIRA ticket keys, like ABC-1111
. As we have now reached 10,000 tickets, we got to ABC-12345
, but with origin/
in the beginning, Eclipse is only showing us origin/ABC-1234...
, which is not very helpful.
Can the size of the box showing the branch names be configured somehow? Even removing the ...
would probably give enough space for one more digit, which is all we need.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在历史记录中,在最近的Eclipse版本中看不到缩短导致更长的标签,或者在最近的EGIT版本中更加精确。也许您只是错过了将日食保留在内,包括最新的日食。
可以在首选项中配置“历史”视图中分支名称的缩短:版本控制(Team)> git>历史记录:为分支显示的最大字符 (通过复选框缩短长标签和前面的分支名称):
That in the History view the shortening leads to a longer label cannot be seen in recent Eclipse versions, or to be more precise, in recent EGit versions. Maybe you just missed to keep your Eclipse including EGit up to date.
The shortening of branch names in the History view can be configured in the preferences: Version Control (Team) > Git > History: Maximum characters to show for a branch (and via the checkbox Shorten long tag and branch names at the front):