#!/bin/bash # Just change this number VER=12 cd ~/projects # Clone the repo for this version git clone "https://huggingface.co/spaces/jingyangcarl/docker_test${VER}" # Copy files from the previous version cp -r "docker_test$((VER - 1))"/* "docker_test${VER}/" # Commit the copied files cd "docker_test${VER}" git add . git commit -m "Initialize docker_test${VER} from docker_test$((VER - 1))" # Open in VS Code code .