I have a python script ( I know only basics of Python ) which checks out multiple git projects in a loop. I can specify user name and password in Python script as specified in - How to Git Username and password
but I have a kind of organizational rule that password must have '@' character so git starts interpreting password part ( after @ ) as part of URL due to presence of @. Python string is as - "https://user:pass1@pass2@GIT_SERVER_URL"+ '/'+ self.project_group + '/' + self.name + '.git'
Is there a way to fix this?
git gives error that URL can't be resolved due to presence of @ in password.
I can checkout projects manually by entering passwords on command prompt for each project but requirement is to do it fully automated way. I am using Windows 8.1 and Python 2.7.10.