How to do git push in Visual Studio Code?

前端 未结 5 1448
温柔的废话
温柔的废话 2021-01-31 02:38

There is a \"Push\" menu item, but when I click on it, nothing happens except for a subtle progressing bar showing up and never finished. From Visual Studio Code\'s Docs page, I

5条回答
  •  攒了一身酷
    2021-01-31 02:56

    if you want push to an own server where you need to enter a password because you use ssh authentification you can do it like this:

    Start Visual Studio Code from the git commandpromt with the command code

    I found this at the end of this page https://code.visualstudio.com/Docs/editor/versioncontrol in the FaQ the Question was "Can I use SSH Git authentication with VS Code?"

    now every time you interact with the git server you get prompted for the password

    here is a guide how to run a command with git when you open git Windows shortcut to run git bash script

提交回复
热议问题