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

13 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Keita Abe
Keita Abe il 15 Gen 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"

Più risposte (0)

Categorie

Scopri di più su ソース管理の統合 in Help Center e File Exchange

Tag

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!