I'm trying to pull a git repository from command line, specifying username and password inside the command, like this:
git pull https://username:[email protected]/.../myRepo.git
The problem is that my username is an e-mail, so apparently the character '@' need to be escaped, if not, I receive the message:
fatal: repository 'https://username:[email protected]/.../myRepo.git/' not found
Someone had the same problem and resolved it?
Usually, you can try and percent encode your password, replacing @ with %40
git pull https://username:<yourPasswordwith%40>@myrepo.kilnhg.com/.../myRepo.git
^^^
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