Github commit username mismatches my real git username

3 ビュー (過去 30 日間)
Han Wang
Han Wang 2021 年 3 月 12 日
コメント済み: Han Wang 2021 年 3 月 12 日
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 件のコメント
Mario Malic
Mario Malic 2021 年 3 月 12 日
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 2021 年 3 月 12 日
Thanks Mario, previously I was using MATLAB2017 and the buttons work well...I will try your method, appreciarte alot!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSource Control についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by