Products Resources Support About Us

Rocket Software

Error cloning a repo in USS to my local workstation

I have a git repository in my uss folder and i am trying to clone that to my windows workstation.

I gave the following command in my local git bash

git clone usrid@host-url:/u/usrid/mainfolder/repo.git/

This initially prompts for my host password. Once that is provided, it proceeds with the clone but ends with the following error. Can you please help with this ?

git-upload-pack: FSUM7351 not found
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I found an answer to this Question. Looks like this is not yet supported in the latest version of Git for Z/OS.

From the Documentation –
Only client mode is supported; in other words, Git for z/OS can clone from, and push to, remote repositories via ssh or https, but cannot be the target of clone and push from other clients.