Gitblit: how to clone develop branch with change the cloneBranch in gitblit-1.8.0\data\groovy\localclone.groovy

605 Views Asked by At

I changed the cloneBranch to refs/heads/develop or to develop,but it always cloning the master branch. So,how to clone develop branch ?

not checkout branch,and this is the link of gitblit

enter image description here

1

There are 1 best solutions below

1
Nisal Edu On

You have to checkout to other branch from master branch to clone it

Reference

https://git-scm.com/docs/git-checkout

https://try.github.io/levels/1/challenges/19