删除分支
我们在上个步骤中成功地将issue1
与main
合并,现在我们可以删除它。
若要删除分支issue1
,请使用 git branch -d 命令:
$ git branch -d issue1
Deleted branch issue1 (was b2b23c4).
使用 git branch 命令来验证issue1
是否已删除。只应列出主要分支。
$ git branch
* main

Project and code management together.
我们在上个步骤中成功地将issue1
与main
合并,现在我们可以删除它。
若要删除分支issue1
,请使用 git branch -d 命令:
$ git branch -d issue1
Deleted branch issue1 (was b2b23c4).
使用 git branch 命令来验证issue1
是否已删除。只应列出主要分支。
$ git branch
* main
Learn with Nulab to bring your best ideas to life