A
A
ardn2015-11-06 17:24:09
git
ardn, 2015-11-06 17:24:09

How to use one git repo with different branches in redmine?

On a local machine with redmine, I cloned the git repository with the --bare mode. Set up fetch in the crown to update. Now when I include the folder with the repository in the project repository, the develop branch is active by default. Other branches can be selected, but for this you need to poke on the buttons. If it is possible to link a specific branch in the git to the redmine project, so that it is immediately available?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2015-11-06
@aol-nnov

run git symbolic-ref HEAD refs/heads/mybranch in the bare repo directory
and you will be happy :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question