How do I create projects in GitBlit?

2,702 views
Skip to first unread message

pa...@pholding.co.uk

unread,
May 27, 2015, 1:34:49 PM5/27/15
to git...@googlegroups.com
Hi

I would like to create a several projects in GitBlit so that I can organise my Git repositories into groups, but I can't figure out how to define the projects in GitBlit. I would like to do something similar to how GitBlit's own repositories are grouped on https://dev.gitblit.com/repositories. When I create a new Git repository the project dropdown list only contains "/" and "~admin/". I've tried editing the projects.conf file to create a new project but the project doesn't appear in the dropdown list.

Could someone please let me know what I need to do to create a new project in GitBlit please? Also, is it possible to move a repository from one project to another?

Kind Regards

Paul

James Moger

unread,
May 27, 2015, 1:43:10 PM5/27/15
to git...@googlegroups.com
Hi Paul,

Repositories can be grouped within subfolders. e.g. libraries/mycoollib.git and libraries/myotherlib.git
http://gitblit.com/administration.html#H3

And in the create repo page:
use '/' to group repositories. e.g. libraries/mycoollib.git

Just specify the path you want.

-J



--
You received this message because you are subscribed to the Google Groups "gitblit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitblit+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tekk nj

unread,
Oct 8, 2016, 11:37:54 AM10/8/16
to gitblit
I have a question on the same line as the original poster. On the "Repositories" tab, I only see the "Main" repos from the / (root) project level. How can I see the repos from my other projects (ie ~kevin) on that tab?

I have this setting defined:  git.repositoriesFolder = ${baseFolder}/git

My projects.conf looks like this:

[project "main"]
title = Main Repositories
description = main group of repositories
[project "~kevin"]
title = ~kevin
description = ~kevin group of repositories

Tekk nj

unread,
Oct 8, 2016, 11:45:55 AM10/8/16
to gitblit
I found my answer.

# Setting to include personal repositories in the main repositories list.

# SINCE 1.6.0
web.includePersonalRepositories = true
Reply all
Reply to author
Forward
0 new messages