diff --git a/git-branch.md b/git-branch.md index 5d07debd9f..373ba8664d 100644 --- a/git-branch.md +++ b/git-branch.md @@ -51,10 +51,12 @@ git branch -a --merged List outdated branches that have been merged into the current one. ### Delete a local branch + ```bash git branch -d $branchname ``` -Deletes the branch only if the changes have been pushed and merged with remote + +Deletes the branch only if the changes have been pushed and merged with remote. ### Delete branch forcefully