0

Whenever I git push anything on vs code's integrated terminal, it doesn't ask for username and password. But whenever I try to push from the main terminal of ubuntu, it asks for username and password, of which's support was stopped by github. What am I missing here ?

I just git add remote the url in vscode nothing else.

5
  • I don't know what VSCode is doing, but ultimately, it sounds like you should switch from HTTPS to SSH. Commented Jul 3, 2022 at 18:54
  • @wjandrea I switched to SSH but the cli is saying permission denied, whereas it's still working on vs code's integrated terminal. Commented Jul 3, 2022 at 19:13
  • Did you do the whole SSH setup? generate a key, install it on GitHub, etc? Commented Jul 3, 2022 at 19:15
  • @wjandrea No. Do you have any link to that ? Commented Jul 3, 2022 at 19:26
  • docs.github.com/en/authentication/connecting-to-github-with-ssh Commented Jul 3, 2022 at 19:31

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.