Management of Branches¶
Avoid the accumulation of stale branches! It is the responsibility of the fork owner to keep the fork clean! Take into account that you may need to share your fork with other developers. Remember to delete the branches that have been merged back into “master” unless the development of the feature for which you created the branch continues. If you are no longer using a branch, delete it! If the branch contains code that you might want to use at some point consider archiving it somewhere else. If a branch is many, many commits behind HEAD
, automatic merging often fails anyway and manual merging is necessary.