how to manage obsolete branches on github

情到浓时终转凉″ 提交于 2019-12-11 02:15:05

问题


I usually develop new features of my codes in dedicated branches, then merge them to master.

The problem with this is that after some time I have a lot of obsolete branches that are cluttering the github interface, where there might be instead branches which are actively developed.

Is there a way to archive them somehow, or should I just delete them, as the commits have already been merged?


回答1:


If you have already merged branches and have no need to develop on them anymore, then it's safe to delete them. You don't loose any commit, as they have been merged and are now stored in master.

I would only propose to leave branches you actively develop



来源:https://stackoverflow.com/questions/6527521/how-to-manage-obsolete-branches-on-github

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!