20 lines
378 B
Bash
20 lines
378 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
mv .git/config config
|
||
|
|
||
|
rm -rf .git
|
||
|
|
||
|
git init -b main
|
||
|
|
||
|
mv config .git/config
|
||
|
|
||
|
git add --all .
|
||
|
|
||
|
git commit -m "cleanup"
|
||
|
|
||
|
git push origin main --force
|
||
|
|
||
|
echo "################################################################"
|
||
|
echo "################### cleanup Done ######################"
|
||
|
echo "################################################################"
|