How add two branch (master & develop) to redmine

I have installed Redmine on Debian. Also have Git with master (default) and develop branches.
I want to integrate git into redmine for showing this two branches in it.

But currently redmine show only master branch.

  • Bitnami + Redmine + Git Not Working
  • Git/Gitolite permissions with redmine
  • Redmine & Git integration
  • Migrating from gitolite to another managed GIT repository
  • how to get trunk code from repository? (redmine,svn)
  • Cannot clone/commit git repository through gitolite/Redmine
  • Redmine: see associated revisions for git branch?
  • add a git repository to remine, but it have no history
  • One Solution collect form web for “How add two branch (master & develop) to redmine”

    After reading some tutorials….

    Initial new project “testproject” in gitosis.
    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’s create our new project:

    mkdir testproject
    cd mkproject
    git init
    git remote add origin git@
    touch readme.txt

    change readme.txt

    git add .
    git commit -am 'init master branch'
    git push origin master:refs/heads/master

    ok. now we created master branch.
    let’s create develop branch:

    git branch develop
    git checkout develop
    touch newfile.txt

    change newfile.txt

    git add .
    git commit -am 'init develop branch'
    git push origin develop:refs/heads/develop

    Now we are created new repositories with two branches (master|develop)

    In redmine setup path to our …/testproject/.git

    it’s all

    Git Baby is a git and github fan, let's start git clone.