Git私有项目用户名密码

https://{ username }:{ password }@ xxx .com
例如:
https://zhangsan:123456@github.com  

  

git clone  https://{ username }:{ password }@gitee.com/123.git

  如果账号是邮箱 @符号需要转译 %40

git clone  https://test%40163.com:123456@gitee.com/123.git

  

百分号编码后保留的字符:

! # $ & ' ( ) * + , / : ; = ? @ [ ] 
%21 %23 %24 %26 %27 %28 %29 %2A %2B %2C %2F %3A %3B %3D %3F %40 %5B %5D 

  

posted @ 2017-12-20 16:58  cqfanxp  阅读(1308)  评论(0编辑  收藏  举报