When to delete branches in Git?

前端 未结 8 2032
走了就别回头了
走了就别回头了 2021-01-29 17:36

Suppose we have an application that\'s stable.

Tomorrow, someone reports a big ol\' bug that we decide to hotfix right away. So we create a branch for that hotfix off o

8条回答
  •  广开言路
    2021-01-29 18:20

    If you want to prune local branches that have been removed from origin, you can also prune, while using git fetch

    git fetch --prune
    

提交回复
热议问题