Update git-branch.md (#1329)

Update git-branch.md
This commit is contained in:
Rico Sta. Cruz 2020-01-20 16:14:10 +11:00 committed by GitHub
commit 08773a877a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -50,6 +50,14 @@ 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.
### Delete branch forcefully
```bash