I would like to have my git username saved in remote url address in order not to type it every time I push or pull.
I found many answers (such as this one) which solves the problem. The thing is that my username contains @
since it is (and unfortunatelly must be) an email address.
When I enter http://[email protected]@myrepo.git
, the parser is confused and takes only me
as the username.
How can I solve it? Is it even posisble? Unfortunatelly, I can't use ssh, to https is the only option.
Use url-escaping, i.e. replace @
in the username with %40
:
http://me%[email protected]
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