刪除分支
我們在上個步驟中成功地將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