I recently needed to rename one of my repositories and couldn’t find any info on how to do it, so here is a walk-thru. I will demonstrate the steps of renaming a repository called “tk” to “show-time”.
Rename project in gitosis.conf
[group main] writable = tk
[group main] writable = show-time
git push origin master
Connect to gitosis server and rename correct folder
cd /home/git/repositories mv tk show-time
Change the remote reference in all repository clones
cd /src/show-time git remote rm origin git remote add origin email@example.com:show-time.git
Done and done.