When using git, every time I need to fix a bug, should I create a new branch from master ,or try to re-use a branch like "my_fix_bug" repeatly? -


after read this: git branch naming best practices think should create new branch master, naming "fix_[issue number]" it's easier know branch branch name.

but colleague think it's better keep branch counts low, , doesn't think branch name issue.

am using git branch wrong, or okay use git branch in different ways?

don't forget "number of branches" isn't absolute in distributed version control system git.

your local repo can use many branches @ needs.
, yet:

for other rules , suggestions: "too many live branches in project".


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -