new-public-repo.sh (225B)
1 #!/bin/bash 2 3 # Pass in argument of repo name.git 4 5 sshfs andrew@brgr:/home/shared /mnt/server 6 cd /mnt/server/git 7 cp -r SAMPLE_REPO public-repos 8 cd public-repos 9 mv SAMPLE-REPO $1 10 cd $1 11 git init --bare 12 nvim description 13 nvim url