【git】设置VScode为默认查看差异工具

  1. 打开bash

$ git config --global core.editor "code --wait"

  1. 打开git全局配置文件

$ git config --global -e

  1. 配置文件示例
posted @ 2019-10-08 19:02  鱼汤泡饭  阅读(1494)  评论(0编辑  收藏  举报