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

16 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 ソース管理の統合 的更多信息

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!