atlassian sourcetree - Config default Git branch name -


i'm working repo has specific 'folder' structure. must create features in branches named feature/mybranchname, fix bugs in branches named bugfix/mybranchname etc.

so, question: can somehow specify default branch name using sourcetree or git itself? want mask every new branch name feature/*

ok, let's explain more clearly:

  1. i'm opening sourcetree.
  2. i'm pushing button 'branch'.
  3. in branch window have textfield specify branch name.
  4. i want masked input in textfield mask topic/* or that.

this possible using git-flow branching model, both command line , through sourcetree.

once have installed git-flow command line tools, can call

git flow init 

in local repository , allow define branch names have mentioned.

you can same in sourcetree pressing "git flow" button in toolbar:

sourcetree

more details here


Comments