search

Home  >  Q&A  >  body text

visual-studio-code - VScode comes with git pull and push error reports

Xiaobai asks for help. When I use vscode to pull and push code, I get an error. I don’t know how to solve it. Please help me.

高洛峰高洛峰2754 days ago1461

reply all(2)I'll reply

  • 阿神

    阿神2017-05-17 10:05:49

    git is not installed...
    or the git command is not configured properly

    reply
    0
  • 高洛峰

    高洛峰2017-05-17 10:05:49

    Although vscode has git function, you still need to install a git main program to run it. In addition, it is recommended to install TortoiseGit to cooperate with it. Most of the usual operations (submit, push, etc.) can be completed with vscode. Occasionally, you can use TortoiseGit to perform more complex operations.
    By the way, after installing git, the terminal of vscode can be designated as the bash that comes with git, so that some command line operations of git can be directly opened in the terminal window of vscode.

    reply
    0
  • Cancelreply