I'm fairly new to Git and Gitolite, but yesterday I managed to get it up and running.
The thing is, I have a folder with many projects (let's call it /projects
) and I'm trying to migrate them to Git. I symlinked Gitolites /repositories
folder to this /projects
folder, so now every new repo is created in the /projects
folder. It works allright.
But now I want to make a repo for every project (subfolder) in the /projects
folder. If I initialize a new repo in Gitolite (let's call it /myproject
), it creates a new folder called myproject.git
instead of using the old myproject
folder with the files I'm already working with.
So, how can I turn all the individual projects folders into Git repositories, using Gitolite? I'd like not to manually download and append all those files.