I am trying to install a file from a private repo. I am using azure cli run commands to invoke these actions.
Here is what the run command looks like:
az vm run-command invoke --name ${MONITOR_VM_NAME} \
--command-id RunShellScript \
--resource-group ${RSC_GRP_NAME} \
--scripts "
curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash
sudo yum -y install nodejs
cd /etc/
sudo git clone \${REPO_USER_NAME}:\${REPO_PASSWORD}@https://bar.visualstudio.com/Foo/_git/Eth-Netstats
"
Unfortunately , I am receving this in the output:
fatal: I don't handle protocol ':@https'
I have looked here:
https://github.com/brackets-userland/brackets-git/issues/965
and
git: fatal: I don't handle protocol 'http'
but it doesnt seem to help. I would appreciate any pointers on this