Hello Team,
Good morning.
I have a question about the setup of git server on windows server 2016.
I have installed git and created a bare repository on F drive.
Installed OpenSSH on server and generated public/private keys for a test user.
Now when I go to another server/machine and try to clone the git repository by using below command in Git Bash: -
$git clone ssh:://TestGitUser@<ip-address-of-git-server>/:/F/repo/temp/GitRepo.git
It asks for user password - I enter the password.
But later I get below message.
fatal: ''/:/F/repo/temp/ GitRepo.git'' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Questions:-
1) How to provide the git repo path in the above command? My git repo is on F drive.
2) If it is asking for password - does it mean SSH keys are working correctly?
3) If there is a detailed document on configuring git on windows - please provide it.
Answer to this would be highly appreciated.