- 1 year ago
Git clone on windows : git@github.com is not a git command
The error message "git@github.com is not a git command" typically occurs when you're trying to use the git clone
command with an invalid repository URL.
When cloning a repository, make sure you provide the correct URL in the following format:
bashgit clone <repository_url>
For example, to clone a repository from GitHub, the URL should typically start with https://github.com/
.
Ensure that you have Git installed on your Windows machine and that the git
command is accessible from the command line. You can verify this by running git --version
in the command prompt. If Git is not installed or not properly configured, you may need to install or reconfigure it.
If you're still experiencing issues, double-check the repository URL and ensure it is correct. If you're using an SSH URL (git@github.com:...
), make sure you have the necessary SSH keys set up and configured correctly.
If you're still unable to resolve the issue, please provide the exact command you're using and the complete error message for further assistance.