git https://username:password@仓库地址 包含特殊字符

 

 

可以使用转义字符进行转换:

 

Encode the special characters by replacing them with the percentage character (%) followed by the hexadecimal code.

 

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

See https://en.wikipedia.org/wiki/Percent-encoding.

 
 
 
posted @ 2022-08-16 10:09  狂奔的小狮子  阅读(263)  评论(0编辑  收藏  举报