如何在GitLab中默认为并排视图 [英] How to default to side-by-side view in GitLab

查看:121
本文介绍了如何在GitLab中默认为并排视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使并排成为GitLab安装或项目或配置文件的默认差异?

How can I make Side-by-side be the default diff for my GitLab installation or project or profile?

推荐答案

2016年2月更新

问题现在位于问题CE 3071 和...已由提交9fdd605 !

现在,使用GitLab 8.5.0 +,cookie可以保留您的差异视图选择。

The issue is now at issue CE 3071 and... was resolved by commit 9fdd605!
A cookie now retain your diff view choice, with GitLab 8.5.0+.

原始答案(2015年2月) )

Original answer (February 2015)

这似乎现在还不可能,可以在建议7082397

That doesn't seem to be possible right now, and can be voted up at the suggestion 7082397


记住side-并排差异选择


现在,当我要查看代码时,每次打开合并Requ时都必须选择并排差异因为该选择未在任何地方存储/保存。

Remember side-by-side diff choice

Right now when I want to review code, I have to choose side-by-side diff each time I open a Merge Request because that choice is not stored/saved anywhere.

要么将我最后一次选择/更改查看器的位置存储在全球某个地方,然后将其用于所有差异视图。

或者让我在我的帐户上有一个配置选项,可以在其中指定我的首选选项。

Either store my last choice/change of viewer globally somewhere and use it on all diff views from that point on.
Or let me have a config option on my account where I can specify my preferred choice.

引入了并排差异视图与 GitLab 6.4 (十二月2013)与提交b51c2c8

The side-by-side diff view was introduced with GitLab 6.4 (Dec. 2013) with commit b51c2c8.

这篇关于如何在GitLab中默认为并排视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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