问题标签 [tig]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
77 浏览

git - Can I use tig to only display a given set of commits

I'd like to use tig to browse an arbitrary list of commits so that I can do something like:

and then only see Joe's commits. However, I see one of Joe's commits as the first one, but then other commits too. Even more simply if I did:

I want to only see that one commit. Is that possible? Thanks!

0 投票
1 回答
29 浏览

zsh - 是否可以在 TIG 中直接从键绑定中搜索特定字符串?

您可以直接从绑定命令中搜索特定字符串吗?我有一个超级有用的配置——绑定到它会在“%(text)”上打开这个简单的 Zsh 脚本,作为第一个参数传递:

它允许通过指向光标并按回车键打开编译器错误行。它会自动跳转到错误所在的行。

tig因此,只需在by内运行 make:!make并自由浏览所有错误 :)

但是,我还需要一种方法来跳转到错误,因此问题是:如何通过键绑定直接搜索“(error:|warning:)”?我想将它绑定到n寻呼机视图中的键。

0 投票
1 回答
87 浏览

amazon-web-services - AWS RDS 和 TIG

我只是有一个问题,是否有可能以某种方式查询 AWS RDS 并将这些数据输入 Telegraf/influxdb 以在 grafana 中显示?

我以前使用过 TIG 堆栈,但实际上只是为了显示 cloudwatch 指标。我一直在网上寻找,有点迷路了。

任何帮助,将不胜感激。

谢谢大家。

0 投票
1 回答
70 浏览

git - 是否可以从存储中应用单行?

我正在寻找一种在舞台中包含特定部分的方法。我正在使用 TIG 前端,因此该方法可能涉及一些低级偏移等计算。但是目前我不知道要计算什么。

有人知道如何将单行从藏匿处移动到舞台区域吗?

0 投票
1 回答
78 浏览

tig - 如何查看不同版本的文件?

我熟悉使用https://github.com/jonas/tig来查看我的更改,但我经常想查看整个文件并快速浏览更改。tig我认为在判断我的这些错误报告时不存在这个“git timemachine”功能:

我的解决方法是使用tig blame $filename并点击f查看该版本中的 blob,这非常尴尬,因为不同的行在不同的时间改变。

我错过了什么?

0 投票
0 回答
28 浏览

grafana - 带有 TIG 堆栈的 ICMP(Telegraf、Influxdb、Grafana)

我现在正在使用 TIG Stack,我想制作只使用 icmp 功能的仪表板。我的意思是我们使用 cmd“ping xxx.xxx.xxx.xxx”。问题是,当目的地是 RTO 时,grafana 中的这个指标仍在运行,没有指示 rto。

这是我的 grafana icmp

我也有与 icmp 具有相同功能的 zabbix。当它的 rto 指标为零时。

这是我的 zabbix icmp

这是我的查询

查询influxdb

这是我的电报 conf telegraf.conf

谢谢你