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 git@remote.git"?. However, my username has @ in it, which seems to mess with the command.
My current command without username entered is sudo git clone ssh://git@git.x/y/
. Now I want to do the same, but with my username abc@gmail.com. How do I do that?
If I try to write sudo git clone abc@gmail.com@git.x/y/
I get the error repository abc@gmail.com@git.x/y/ does not exist