Every time I try to push code from Visual Studio Code interface, it requires me to enter my GitHub username and password. How can I save my GitHub credentials so it doesn't ask me to enter them every time I push my code?
Asked
Active
Viewed 5,290 times
1 Answers
1
You need to setup a Git credential helper.
If you are using Git for Windows you can run the following command to save your credentials.
git config --global credential.helper wincred
For Mac/Linux see this guide on how to make Git remember your credentials.
Otherwise, you can enable ssh access to your repo.

bgsuello
- 582
- 5
- 12