change === and >>> to ::*** and ***::
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
echo "---------------------------------------------"
|
||||
echo "User Name (leave blank for no change)"
|
||||
read -p "#>>> " UserName
|
||||
read -p "***:: " UserName
|
||||
if [ $UserName ]
|
||||
then
|
||||
echo "git config --global user.name $UserName"
|
||||
@@ -11,7 +11,7 @@ fi
|
||||
|
||||
echo "---------------------------------------------"
|
||||
echo "User Email (leave blank for no change)"
|
||||
read -p "#>>> " UserEmail
|
||||
read -p "***:: " UserEmail
|
||||
if [ $UserEmail ]
|
||||
then
|
||||
echo "git config --global user.email $UserEmail"
|
||||
@@ -21,7 +21,7 @@ fi
|
||||
echo "---------------------------------------------"
|
||||
echo "如果 git 远程服务器的 ssl 证书过期,或者使用了自颁发的证书,连接时会出现验证错误 Cannot verify local issuer"
|
||||
echo "Verify ssl? (true or false, blank for no change)"
|
||||
read -p "#>>> " HttpSslVerify
|
||||
read -p "***:: " HttpSslVerify
|
||||
if [ $HttpSslVerify ]
|
||||
then
|
||||
echo "git config --global http.sslVerify $HttpSslVerify"
|
||||
@@ -30,7 +30,7 @@ fi
|
||||
|
||||
echo "---------------------------------------------"
|
||||
echo "Store credential in cache or store? (leave blank for no change)"
|
||||
read -p "#>>> " CredentialHelper
|
||||
read -p "***:: " CredentialHelper
|
||||
if [ $CredentialHelper ]
|
||||
then
|
||||
echo "git config --global credential.helper $CredentialHelper"
|
||||
@@ -39,7 +39,7 @@ fi
|
||||
|
||||
echo "---------------------------------------------"
|
||||
echo "Store pull rebase to true or false? (leave blank for no change)"
|
||||
read -p "#>>> " PullRebase
|
||||
read -p "***:: " PullRebase
|
||||
if [ $PullRebase ]
|
||||
then
|
||||
echo "git config --global pull.rebase $PullRebase"
|
||||
@@ -48,7 +48,7 @@ fi
|
||||
|
||||
echo "---------------------------------------------"
|
||||
echo "Path to global gitignore file? (For example ~/.gitignore.global.txt, leave blank for no change)"
|
||||
read -p "#>>> " ExcludesFile
|
||||
read -p "***:: " ExcludesFile
|
||||
if [ $ExcludesFile ]
|
||||
then
|
||||
echo "git config --global core.excludesfile $ExcludesFile"
|
||||
@@ -59,7 +59,7 @@ fi
|
||||
|
||||
echo "---------------------------------------------"
|
||||
echo "Set default branch since git 2.28 to master or main? (leave blank for no change)"
|
||||
read -p "#>>> " DefaultBranch
|
||||
read -p "***:: " DefaultBranch
|
||||
if [ $DefaultBranch ]
|
||||
then
|
||||
echo "git config --global init.defaultbranch $DefaultBranch"
|
||||
|
||||
Reference in New Issue
Block a user