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

11 views (last 30 days)
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.

Accepted Answer

Keita Abe
Keita Abe on 15 Jan 2021
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"

More Answers (0)

Categories

Find more on ソース管理の統合 in Help Center and File Exchange

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!