After reading some lessons ....
The initial new project "testproject" in gitoz. Add some users.
Edit gitosis.conf :
[group testproject]
members = user1 user2
writable = testproject
save it ...
git add .
git commit -am 'add new project TESTPROJECT and users'
git push
OK. Let me create our new project:
mkdir testproject
cd mkproject
git init
git remote add origin git@192.168.48.15:testproject.git
touch readme.txt
edit readme.txt
git add .
git commit -am 'init master branch'
git push origin master:refs/heads/master
OK. now we have created the main branch. let me create a development branch:
git branch develop
git checkout develop
touch newfile.txt
edit newfile.txt
git add .
git commit -am 'init develop branch'
git push origin develop:refs/heads/develop
Now we create new repositories with two branches (master | develop)
On the way to configure redmine to our ... /testproject/.git
all this
source
share