0

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?

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.