Hotfixes branches

Hotfixes branches are branches derived only from the master, as we said before; once you have fixed a bug, you merge the hotfix branch onto the master, to enable you to get a new release to ship. If the bug has not been resolved anywhere else in your repository, the strategy is to merge the hotfix branch into the develop branch. After that, you can delete the hotfix branch, as it has hit the mark.

In Git, there is a trick to grouping similar branches: you have to name them using a common prefix followed by a slash /; for the hotfix branches, the author recommends the hotfix/<branchName> prefix (for example hotfix/LoginBug or hotfix/#123 for those using bug tracking systems, where #123 is the bug ID).

These branches are usually not pushed to remote; you push them only if you need the help of other team members.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.10.137