[英]The vim command line launched by git mergetool
当在配置中设置以下内容时,git mergetool启动的最终命令是什么:
git config --global merge.tool vimdiff
vim -d $MERGED $LOCAL $BASE $REMOTE -c wincmd J
where arguments are different stages of a merge. 其中参数是合并的不同阶段。 See description at https://www.git-scm.com/docs/git-mergetool#git-mergetool--tlttoolgt
请参阅https://www.git-scm.com/docs/git-mergetool#git-mergetool--tlttoolgt中的说明
See also https://vi.stackexchange.com/questions/3985/git-mergetool-vimdiff-command 另请参见https://vi.stackexchange.com/questions/3985/git-mergetool-vimdiff-command
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.