Git branch deletion

前端 未结 4 2090
情歌与酒
情歌与酒 2021-01-29 19:22

In Git, what does \"deletion\" of a branch mean?

Will it be gone from the repository? Or will it still be navigable to via git branch?

What I reall

4条回答
  •  执笔经年
    2021-01-29 20:12

    git branch -D will delete your branch from repository. You will not be able to see it or navigate anymore. Also you will lose all file changes made in that branch.

    https://git-scm.com/docs/git-branch

提交回复
热议问题