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.

  • How to update a git clone --mirror?
  • Git command “add -p” on all files
  • .gitignore How to ignore first level files in a directory but not sub-files?
  • Protecting sensitive information in Git
  • git submodule update --remote vs git pull
  • Tag multiple branches in git?
  • Squash commits on master but separate commits on feature branch?
  • How does git flow handle hotfix to older release or point release of older release
  • Git Bash gets stuck on diff / log, spontaneously repeats same command over and over
  • GitHub - failed to connect to github 443 windows/ Failed to connect to gitHub - No Error
  • 'git push heroku master' is still asking for authentication
  • TotoiseHG: An existing connection was forcibly closed by the remote host
  • 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.