Git clone with password @

I think what you are looking is to escape the special character @, which you can use encode %40 instead of @. This link might help Escape @ character in git proxy password


You can replace @ with its URL encoded format %40

if your password is password@99. Change it to password%4099

git clone https://username:password%[email protected]/sarat.git

Check the link Git Configure

Configure your git account in local -

git config --global user.name myName

git config --global user.email myEmail

The following command will save your password in memory for sometime.

$ git config --global credential.helper cache

Set git to use the credential memory cache

$ git config --global credential.helper 'cache --timeout=3600'

Set the cache to timeout after 1 hour (setting is in seconds)

Hope this would help you