如何在Visual Studio代码中执行git push? [英] How to do git push in Visual Studio Code?
问题描述
如果你在windows中,在你的git中使用这行bash:
$ b
git config --global credential.helper wincred
下一次git会记住您的密码。这就是所有,VSCode将正常工作;)
再见字节!
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 found this line: "Credential management is not handled by VSCode for now," and that page links to a GitHub page on credential helper, which is too specific for other remote server (in my case, bitbucket) and not specific enough on how to set up for VS Code.
If you are in windows use this line in your git bash:
git config --global credential.helper wincred
Next time git will remember your password. Thats all, the VSCode will work fine ;)
Bye Bytes !
这篇关于如何在Visual Studio代码中执行git push?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!