Github commit username mismatches my real git username

3 Ansichten (letzte 30 Tage)
Han Wang
Han Wang am 12 Mär. 2021
Kommentiert: Han Wang am 12 Mär. 2021
Hi,
I'm using git with matlab2020b, I found that the commit name in github mismatch my real github username, but my username of Windows. I'm really confused about that... because everytime when I try to commit my code, I type my username and password of github. See below figure:
  2 Kommentare
Mario Malic
Mario Malic am 12 Mär. 2021
Yeah, I noticed that as well, I stopped using the buttons on the toolbar to commit and push. Instead I am using !git add, !git commit from command line in MATLAB, then I call git.exe by system command and type in 'git push'. I also use GPG signing which can't be done through the buttons mentioned above.
If you search around, there are some comments related to certificate differences, but I can't tell exactly what's the issue.
Han Wang
Han Wang am 12 Mär. 2021
Thanks Mario, previously I was using MATLAB2017 and the buttons work well...I will try your method, appreciarte alot!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Source Control finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by