The method of adding git to vscode terminal

Record, how to add git terminal to vscode

1. First open Preferences => Settings, search shell window, and find setting.json

2. Add code (set the location of git, and set it as the default terminal)

code:

 "gitBash": {
            "path":"D:\\soft\\Git\\bin\\bash.exe",
        },
"terminal.integrated.defaultProfile.windows": "gitBash"

3. Restart vs code, then press [ctrl+~] key combination, get it done! ! ! !

I want to be able to see who changed each line, as well as a plugin for submitting records

 

 

Guess you like

Origin blog.csdn.net/Vivien_CC/article/details/126723907