I've recently added Two-Factor Authentification to my GitLab account. To push to my project, GitLab asked me to create an access token. After creating this token, I supplied it to my .git/config
like so:
[remote "origin"]
url = https://oauth2:ACCESS_TOKEN@gitlab.com/yourself/yourproject.git
Then I get the following error: Port number ended with 'P', how is my syntax wrong?
Edit: I don't have any # or @ in my password so I shouldn't have to encode this character.