How to connect private github repository to Matlab?

조회 수: 11 (최근 30일)
Matthew Wilson
Matthew Wilson 2022년 3월 2일
답변: Elad Denenberg 2023년 7월 23일
I'm trying to add my github repository to Matlab R2021a using their source control menu and i keep getting an authentication error. How do I actually make the connection to a private repository? I have a second public repository under the same account and it is able to connect without issue. I know i'm typing the correct information in every time.
The error im getting is
Unable to validate the specified path with the following git error: https://github.com/my-user-name/Test_2: not authorized.
My steps: Project tab -> Source Control -> Remote -> (enter git https URL) -> validate -> type in login information
I have tried using SSH but I hit a dead end. According to this article, setting up SSH is a lost cause for R2021a.

답변 (1개)

Elad Denenberg
Elad Denenberg 2023년 7월 23일
I was able to connect using SSH. You need to prepare the key on your computer then add it to github.

카테고리

Help CenterFile Exchange에서 Source Control에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by