cfcpu / up.sh
rootuc
update
0bf77f6
Raw History Blame Contribute Delete
456 Bytes
# CAUTION:
# check the destination !
# this will cause total rebuild !!
#
REMOTE=git@hf.co:spaces/vfbender/cfcpu
echo Carefully check this remote is what you want to OVERWRITE and REBUILD:
echo
echo $REMOTE
echo
# echo -e "Desired:\t$REMOTE"
# echo -en "Already set:\t"
# git remote get-url hf
read -p "Press ENTER to confirm overwriting! "
git remote remove hf
git remote add hf $REMOTE
# exit # test
git add .
git commit -am update
git push -f hf