We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc41560 commit c706d50Copy full SHA for c706d50
git-branch.md
@@ -34,6 +34,14 @@ git remote prune origin
34
35
Deletes `origin/*` branches in your local copy. Doesn't affect the remote.
36
37
+### List existing branches
38
+
39
+```bash
40
+git branch --list
41
+```
42
43
+Existing branches are listed. Current branch will be highlighted with an asterisk.
44
45
### List merged branches
46
47
```bash
@@ -42,6 +50,14 @@ git branch -a --merged
50
51
List outdated branches that have been merged into the current one.
52
53
+### Delete branch forcefully
54
55
56
+git branch -D $branchname
57
58
59
+Delete a branch irrespective of its merged status.
60
61
### Delete remote branch
62
63
0 commit comments