cmd单击git diff输出上的差异文件

时间:2018-09-21 12:44:59

标签: git iterm2

我是iterm2的粉丝,它支持文件名<RelativeLayout ... app:layout_behavior="@string/bottom_sheet_behavior" app:behavior_peekHeight="@dimen/player_sheet_peek_height" app:behavior_hideable="false"> 并使用默认应用程序将其打开。

我也是cmd+clickgit的粉丝。

这是git diff的典型输出:

git diff

我很想在diff --git a/file.rb b/file.rb index 815a364..bef9c71 100644 --- a/file.rb +++ b/file.rb @@ -7541,6 +7541,11 @@ - removed lines + added lines 上的cmd+click处以超文本格式快速打开它,但是使用file.rba/前缀可以使字符串不引用有效的文件名。

由于某些原因,这会导致我以默认浏览器chrome打开文件。

0 个答案:

没有答案