我正在尝试watch从“ git status”显示颜色。
我尝试过运行带有该--color选项的手表,如此处其他地方所建议的那样,但是仍然watch --color 'git status'不显示颜色。
@ jw013:是的,它在选项列表中。
—
2012年
确保已打开的颜色
—
2012年
git status。请注意,这auto还不够,watch因为没有输出到端子。您git config color.status always至少必须在下运行watch。
Git的
—
Chris Johnsen 2012年
-c选项可用于color.status为单个命令设置值:git -c color.status=always status
watch支持版本--color吗?