go-web-templates/removegit.sh

27 lines
586 B
Bash

echo "Removing everything related to the starter git repo in 5 seconds"
echo "You can press Ctrl+C to terminate this script before the deletion starts"
sleep 1
echo "Removing git repo in 4"
sleep 1
echo "Removing git repo in 3"
sleep 1
echo "Removing git repo in 2"
sleep 1
echo "Removing git repo in 1"
sleep 1
echo "Removing git repo now!"
echo "Removing git..."
rm -rf .git
echo "Removing LICENSE and README.md..."
rm LICENSE README.md
echo "Keeping .gitignore as it might be useful"
echo "Removing this file to prevent future accidental deletes"
rm removegit.sh
echo "Bye..."