u
This commit is contained in:
parent
f35439523f
commit
784ed8f6f8
@ -45,3 +45,11 @@ then
|
|||||||
echo "File not exsit: $ExcludesFile"
|
echo "File not exsit: $ExcludesFile"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "---------------------------------------------"
|
||||||
|
read -p "Set default branch since git 2.28 to master or main? (leave blank for no change) >> " DefaultBranch
|
||||||
|
if [ $DefaultBranch ]
|
||||||
|
then
|
||||||
|
echo "git config --global init.defaultbranch $DefaultBranch"
|
||||||
|
git config --global init.defaultbranch $DefaultBranch
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user