Git “error: The branch 'x' is not fully merged”

前端 未结 12 2025
忘了有多久
忘了有多久 2020-12-04 04:34

Here are the commands I used from the master branch

git branch experiment
git checkout experiment

Then I made some changes to my files, commi

12条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 05:17

    I had this happen to me today, as I was merging my very first feature branch back into master. As some said in a thread elsewhere on SO, the trick was switching back to master before trying to delete the branch. Once in back in master, git was happy to delete the branch without any warnings.

提交回复
热议问题