klaussilveira/gitlist — pull request #520 by yeriomin (2014-10-09 23:41:58+00:00)
Title: New features: create empty repos and fork remote repos.

I know it is Git *List*, but being able to create an empty bare repo was quite useful for my homeserver. That eliminated the need to create repos through the ssh session. Same with forking a remote repo.

Buttons "Create" and "Fork" have been added to the top of the repo list. Pressing them shows a form with a name of the repo and the clone url. New repos are created in the first directory from the config.ini.

![image](https://cloud.githubusercontent.com/assets/554737/4585913/66057bda-500d-11e4-8ac7-04b7c7d067b4.png)
![image](https://cloud.githubusercontent.com/assets/554737/4585941/b75ece64-500d-11e4-9a0e-44532cc944f1.png)

Lets suppose we have the following configuration:
```
repositories[] = '/home/git/projects'
repositories[] = '/home/git/some-other-projects'
```
In this case the repos are going to be created in /home/git/projects.

The UI of creating/forking is far from perfect. If someone comes up with a more logical way to put the controls I will gladly implement it. Same with the repo creation directory logic.