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

11 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Keita Abe
Keita Abe le 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"

Plus de réponses (0)

Catégories

En savoir plus sur ソース管理の統合 dans Help Center et File Exchange

Tags

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!