How to resolve Git connection error of "git-upload-pack not permitted on"?

16 ビュー (過去 30 日間)
Keita Abe
Keita Abe 2021 年 1 月 15 日
回答済み: Keita Abe 2021 年 1 月 15 日
When I tried to connect to github enterprise remote repository using Matlab Git, I get the following error and could not verify it. How can I successfully connect to a remote repository?
次の git エラーにより、指定したパスを検証できません: (The specified path cannot be verified due to the following git error:)
https://github.xxx.com/USERNAME/Git-MATLAB-Training.git: git-upload-pack not permitted on 'https://github.xxx.com/USERNAME/Git-MATLAB-Training.git/'
Git CUI and Cygwin is already installed and SSH has been added by this link: Set Up Git Source Control - MATLAB & Simulink - MathWorks
Thank you.

採用された回答

Keita Abe
Keita Abe 2021 年 1 月 15 日
I solved this question myself. The cause was because I set the wrong path to the environment variable settings. That is, HOME = "C:\Users\username\.ssh" was wrong one. I must have been set as HOME = "C:\Users\username"

その他の回答 (0 件)

カテゴリ

Help Center および File Exchangeソース管理の統合 についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!