git克隆项目带用户名密码@的转义

  sre

git clone http://userName:password@链接

DHOORP.png

git clone http://userName:password@仓库地址

如:

git clone http://me:123456@gitlab.test.com/java/demo.git
带@的用户名需要用`%40`转义,如me@test.com
git clone http://me%40test.com:123456@gitlab.test.com/java/demo.git

LEAVE A COMMENT

Captcha Code