[go: up one dir, main page]

Skip to content

when i have a "@" in my password,and i want to use "git --git-dir push -f" with http, i got a fail result.

in my company, each of us has a password with a "@",this is not a problem . but i have got a requirement to use a command below(in the gitlab-shell): git --git-dir=/home/git/gdk8.0.2/gitlab-development-kit/Iscas/documentcloud_underscore.git/.git push -f http://root:admin@example.com@192.168.5.23:3000/Iscas/documentcloud_underscore.git master

admin@example.com is the password of root user,i find this command return a failure. if i change the password to make it without a "@",it return success,but i cant change the password because of other requirement, do you have any idea?

3Q.