I'd like to clone a repository that uses ssh. To do that I need to enter my username. I've tried to do this based on How to provide username and password when run "git clone [email protected]"?. However, my username has @ in it, which seems to mess with the command.
My current command without username entered is sudo git clone ssh://[email protected]/y/
. Now I want to do the same, but with my username [email protected]. How do I do that?
If I try to write sudo git clone [email protected]@git.x/y/
I get the error repository [email protected]@git.x/y/ does not exist
Url-encode your username, replacing "@" with "%40".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With