Created
January 18, 2022 15:11
-
-
Save matobaa/7732b5de46bf80fa58ebc89e910b8878 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ ! `which git` ]; then | |
read -p "git: command not found. install [y/N]? " | |
[ ! x${REPLY^} == xY ] && exit 1 | |
[ `which yum` ] && yum install git # RHEL | |
[ `which apt` ] && sudo apt-get update && sudo apt-get install git # Debian | |
[ `which apk` ] && apk add git # Alpine | |
fi | |
git clone --config=core.autocflf=input https://github.com/redmine/redmine.git app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment