0

I have a private github repository and i can clone the repository by making https request only. SSH is not an option for me. My command should be like this:

git clone https://username:password@github.com/asrrepo/QA.git

But what if my password starts with @ character in it?

git clone https://username:@password@github.com/asrrepo/QA.git

I don't want it to prompt me to enter the password.

UserASR
  • 2,015
  • 4
  • 24
  • 47

1 Answers1

1

you can run
git clone https://username@github.com/asrrepo/QA.git it will prompt for your password

Update: (if you don't want it to be prompted) https://username:%40password@github.com/asrrepo/QA.git

leah
  • 433
  • 5
  • 7