This commit is contained in:
luk.lu
2023-03-17 11:07:25 +08:00
parent de6baa9d64
commit 071a1a8a82
6 changed files with 23 additions and 104 deletions

View File

@@ -37,6 +37,15 @@ then
git config --global credential.helper $CredentialHelper
fi
echo "---------------------------------------------"
echo "Store pull rebase to true or false? (leave blank for no change)"
read -p ">>> " PullRebase
if [ $PullRebase ]
then
echo "git config --global pull.rebase $PullRebase"
git config --global pull.rebase $PullRebase
fi
echo "---------------------------------------------"
echo "Path to global gitignore file? (For example ~/.gitignore, leave blank for no change)"
read -p ">>> " ExcludesFile