Update git-branch.md
This commit is contained in:
parent
fd9ccf25d5
commit
ef74b689ef
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue