How to use GIT commands in VSCode (latest)

1. First open the settings and find the setting.json file

2. Then enter the following code:

,
    "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. Here! ! !

4. Then save and open the integrated terminal console, which can be realized

Guess you like

Origin blog.csdn.net/m0_60237095/article/details/128913308