version control - Do i need to make new branch for bug fix or work on master branch in git -


i have 3 branches 1 is

master develop release-1 

there template alignment issue showing out of format data. want know should checkout master branch , edit file , them commit on master branch , update prod server.

or need make new branch bugfix changes there , merge branches

thats looks me time wasting , may have 5-6 lines fix code.

but consdering best practices

if single programmer working on not make life more complicated needs be.

branching , merging have practical place in multi developer environment. if working alone, 1 use have "experimentation".

there nothing wrong working on master , branching when want experiment.

it common have develop branch , merge master.

many more branches , complicating things yourself. remember it's supposed make life easier, not harder.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -