Every time I push to the remote Git repository, I have to re-input my username and password. Is there some way to avoid this by having MATLAB R2020b store this information?

2 vues (au cours des 30 derniers jours)
Dera All,
Every time I push to the remote Git repository, I have to re-input my username and password.
Is there some way to avoid this by having MATLAB R2020b store this information?
Best regards,
Ariyamehr

Réponses (1)

Mario Malic
Mario Malic le 23 Oct 2020
Modifié(e) : Mario Malic le 23 Oct 2020
I am posting this as an answer, since we'll come to it, eventually.
  • Change your remote depository to use the SSH
!git remote set-url origin git@github.com:username/your-repository.git
If you go to Git settings on website, you'll see if your SSH key has been used.

Catégories

En savoir plus sur Source Control Integration dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by