Matlab push to Github Username/Password problem.

When I want to push my Matlab code to my GitHub repository, it asks for my Username and Password/Token. I then enter my Github details, but I keep getting "Incorrect password or Username". Any idea why this happens?

回答 (1 件)

Gagan Agarwal
Gagan Agarwal 2023 年 9 月 21 日

0 投票

Hi Ewan,
There could be several reasons why you are receiving an "Incorrect password or username" error message.
Here are a few possible causes and solutions:
Incorrect username or password: Please verify that you are entering the correct username and password for your GitHub account.
Using an outdated authentication method: GitHub no longer supports password-based authentication. It is recommended to use personal access tokens (PATs) or SSH keys instead. Generate a PAT in your GitHub account settings and use it as your password when prompted.
Firewall or proxy settings: If you are behind a firewall or using a proxy, it could interfere with the authentication process. Check your network settings or try using a different network to see if the issue persists.
I hope this helps!

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2022 年 4 月 13 日

回答済み:

2023 年 9 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by