- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我正在使用 Sublime Text 3 加上 Git包来管理我的 repo 。我将 .gitconfig
文件设置为使用 Meld工具(Meld v3.14.2):
[diff]
external = meld
tool = meld
我可以使用 $ git difftool
从命令提示符启动它,没有任何问题。
我过去可以通过 Git Diff Tool Current File
和 Git Diff Tool All
命令对 git 包执行相同的操作。重新安装 Sublime Text 3 后,当我尝试执行这两个操作中的任何一个时,出现 Sublime 底部的窗口,询问:
Viewing (1/1): 'test.py'
Launch 'meld' [Y/n]:
我不能在这里输入任何文字,而且我以前不需要。如果我尝试 Git Diff Current file
它会打开一个新选项卡:
Usage:
meld Iniciar con una ventana vacía
meld <archivo|carpeta> Iniciar una comparación de control de versiones
meld <archivo> <archivo> [<archivo>] Iniciar una comparación de archivo de 2 ó 3 vías
meld <carpeta> <carpeta> [<carpeta>] Iniciar una comparación de carpetas de 2 ó 3 vías
Error: too many arguments (expected 0-3, got 7)
fatal: External Diff died, stopping at test.py
(大致翻译自西类牙语)所以看起来 Meld 的参数没有正确传递。这是我的默认配置文件,我没有用户配置:
{
// save before running commands
"save_first": true
// if present, use this command instead of plain "git"
// e.g. "/Users/kemayo/bin/git" or "C:\bin\git.exe"
,"git_command": false
// if present, use this command instead of plain "gitk"
// e.g. "/Users/kemayo/bin/gitk" or "C:\bin\gitk.exe"
,"gitk_command": false
// point this the installation location of git-flow
,"git_flow_command": "/usr/local/bin/git-flow"
// use the panel for diff output, rather than a new scratch window (new tab)
,"diff_panel": false
// If you'd rather have your status command open files instead of show you a
// diff, set this to true. You can still do `Git: Status` followed by
// 'Git: Diff Current File' to get a file diff
,"status_opens_file": false
// Use --verbose flag for commit messages
,"verbose_commits": true
// How many commit messages to store in the history. Set to 0 to disable.
,"history_size": 5
// Show git flow commands
,"flow": false
// Annotations default to being on for all files. Can be slow in some cases.
,"annotations": false
// statusbar
,"statusbar_branch": true
// Symbols for quick git status in status bar
,"statusbar_status": true
,"statusbar_status_symbols" : {"modified": "≠", "added": "+", "deleted": "×", "untracked": "?", "conflicts": "‼", "renamed":"R", "copied":"C", "clean": "✓", "separator": " "}
// e.g. "Packages/Git/syntax/Git Commit Message.tmLanguage"
,"diff_syntax": "Packages/Diff/Diff.tmLanguage"
// Rulers for commit view
,"commit_rulers": [70]
// Watch for gitignore changes?
,"gitignore_sync": false
}
最佳答案
看来您需要将 git 设置为不提示。在你的 .gitconfig
文件中,添加:
[difftool]
prompt = false
关于git - Sublime Text 3 + Git 包 : won't launch difftool (Meld),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39881866/
我通常在 git web 项目(系统:Ubuntu-gnome 13.10)中使用 meld。 我希望它跳过扫描某些文件和文件夹,例如 .meteor 目录(需要一段时间才能扫描)。 Ubuntu-G
融合工具中的“输入”符号是什么意思(下图红色圈出) 最佳答案 Meld 中的 Enter 符号表示已在两个比较文件之间添加/删除了新行。 在您的示例中,01.03.2019 和 07.03.2019
我正在使用 Ubuntu 16.04 和 python 版本 3.5.2。我遇到的问题是,我无法开始融合。每次我尝试打开它时,都会收到以下错误消息: Traceback (most recent ca
通过从源代码编译每个包,我设法安装了 meld 3.14.2 和所有依赖包,所有包都安装在 NFS 共享上,--prefix=/meld用于融合工具 && --prefix=/meld/deps对于依
我正在尝试在 Windows 上使用 Meld 作为 Git Difftool 并面临以下问题: Launch 'meld' [Y/n]? Y Cannot import: GTK+ DLL load
我正在使用 Meld 1.8.5。 http://meldmerge.org/ 我使用 gedit 在不知道 meld 的情况下更改文件。我喜欢重新做比较。进行刷新的最简单方法是什么。刷新没有进行重新
meld 是否像“kdiff3”一样支持自动合并功能? 使用 kdiff3,您可以: kdiff3 file1 file2 -o outfile 并且不必打开 GUI。 那么你可以用 meld 做到这
我一直在使用 Meld 递归地比较目录。我想知道如何将比较结果导出到新文件中。 Meld 是一个可视化工具,但是有什么方法可以保存比较吗? 最佳答案 从版本 3.18.0 开始,此功能不受支持。 您可
我正在使用 Meld 来发现两组相似的 Fortran 代码之间的差异。在许多情况下,这两个文件之间的唯一区别是自动版本号。这条线使它看起来比应该有更多的差异,并且它变得困惑。 有问题的自动版本号行类
在Meld中,有一个选项可用于添加同步点。不幸的是,我无法弄清楚这些所谓的同步点的作用。我搞砸了,但实际上似乎什么也没做(除了现场直播比较)。 我已经检查了手册并四处搜寻,但无法解决这个谜团。 该选项
我有这个奇怪的问题。我创建了一种压缩反向文件的算法。我有原始文件(在我的示例中为 198.3Mb)和解压缩文件(为 198.0Mb)。文件大小由 Nautilus 查看。我运行了 meld,它返回了相
我知道我可以使用 meld . 查看 HEAD 和当前状态之间的区别。但是如何查看分支之间的差异,例如 master 和 devel 与 meld? 目前我执行以下步骤: 重命名工作副本的文件夹 例如
有没有办法使用命令行(如终端)或以编程方式在现有的 meld 实例中开始新文件比较。 例如,以下两个命令启动 meld 的两个实例 $ meld ./1/a1.txt ./2/a2.txt & $ m
已阅读 Completely manual Mercurial merge ,我有这样的.hgrc : [ui] merge = meld [merge-tools] meld.priority =
我发现其他人在通过 MacPorts 将 Meld 安装到 Mac 时也遇到了问题。 我跑 sudo port install meld 我得到 sudo port install meld --
我在 Sourcetree 中使用 Meld 来解决冲突。 面临的问题是我必须选择本地或远程更改,我不能同时保留这两个更改。知道这在 Meld 中是否可行吗? 最佳答案 您可以选择一侧,然后通过按键盘
我刚刚开始使用 Meld。我正在使用它的版本控制差异功能并且它运行良好,只是它似乎没有使用 .hgignore 文件。 我正在处理的树巨大,但我只善变跟踪一小部分,因此 Meld 需要很长时间来扫描整
我正在安装 meld as described here : sudo yum install intltool itstool gir1.2-gtksource-3.0 libxml2-utils
我知道命令: 查找文件路径: find . -name filename 比较两个文件: meld path_of_file_in_one_dir path_of_file_in_second_dir
我正在使用 Ubuntu 12.04,在从终端运行 meld 时出现 AttributeError: $ meld file1.txt file2.txt /usr/lib/python2.7/dis
我是一名优秀的程序员,十分优秀!