1

I am trying to pull from a github repository from the local terminal of android studio. But I am asked to enter my login credentials every time I make a pull request. I tried setting up SSH key too but it did not work. When I enter the login credentials on the login window, it says wrong password, but when I enter the same credentials on the terminal enter image description here, it accepts it.

[enter image description here][2]

Rudra
  • 704
  • 8
  • 16
rg_rg
  • 11
  • 1

1 Answers1

1

To answer the first portion of your question:

Run the command git config credential-helper store

This will store your github credentials on your hard drive, meaning that after you enter your credentials once you won't have to enter them again. Your credentials will be unencrypted though, so if you have reason to believe your computer might get infected by ransomware, you might wanna go with another method.

Sources:
Git Documentation
Another StackOverflow Answer

Joshua L.
  • 21
  • 6