Delete a branch
We successfully merged issue1
with main
in the previous step, and now we can delete it.
To delete the branch issue1
, use the git branch -d command:
$ git branch -d issue1
Deleted branch issue1 (was b2b23c4).
Verify that issue1
has been deleted using the git branch command. Only the main branch should be listed.
$ git branch
* main