如何在VSCode中使用GIT命令(最新)

1.首先打开设置,找到setting.json文件

2.然后输入下列代码:

,
    "terminal.integrated.profiles.windows": {
        "Git-Bash": {
            "path": "D:\\Git\\bin\\bash.exe"
        },
        "PowerShell": {
            "source": "PowerShell",
            "icon": "terminal-powershell",
            "args": [
                "NoProfile"
            ]
        },
    },
    
    
    "terminal.integrated.defaultProfile.windows":"Git-Bash" ,

3.在这里!!!

4.然后保存,打开集成终端控制台,即可以实现

猜你喜欢

转载自blog.csdn.net/m0_60237095/article/details/128913308