You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,12 @@ Alias for `git branch --delete @{-1}` to delete the previous branch.
8
8
9
9
See [Git Previous Branch](https://salferrarello.com/git-previous-branch/).
10
10
11
+
### `git drb`
12
+
13
+
Alias for `git push origin --delete $(git branch --show-current)` to delete the remote branch with the same name as the current branch from the remote **origin**.
14
+
15
+
See [Deleting Remote Branches](https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches#_delete_branches).
0 commit comments