1

My github password includes @ character. In doing git clone, I am getting an error message could not resolve host: [email protected] considering my password is "pass@my". Using backslash too presents the same error.

I am typing:

git clone myusername:pass@[email protected]/myusername/myrepo.git D:/myworkspace

How to resolve this?

devautor
  • 2,506
  • 4
  • 21
  • 31

1 Answers1

6

Try URL-encoding it: pass%40my

bfontaine
  • 18,169
  • 13
  • 73
  • 107