Skip to content

Commit 20726b4

Browse files
authored
Add branch delete commands
1 parent c1d79e7 commit 20726b4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,17 @@ Alternatively, to save all changes made to working directory away and revert it
148148
git stash -u
149149
```
150150

151+
## Delete Branch
152+
Locally delete branch:
153+
```bash
154+
git branch -D <branch-name>
155+
```
156+
157+
Delete remote branch:
158+
```bash
159+
git push <remote_name> --delete <branch_name>
160+
```
161+
151162
## Remotes
152163
View all of the remotes
153164
```bash

0 commit comments

Comments
 (0)