Add new project on gitosis

If you already install gitosis then you can follow this step to add new project:

Creating a new project on git repository

Clone gitosis-admin:

git clone git@

Enter on gitosis-admin/ and edit gitosis.conf to add new group and project:

[group new-project-name]
members = joao@pessoa maria@bonita jose@geraldo
writable = new-project-name

Go to your local project source code directory and execute:

git init
git remote add origin git@
git add *
git commit --allow-empty
git push origin master:refs/heads/master

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s