1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-10 01:10:41 +01:00

fix(git): move squash-merged branch deletion from gbda to gbds function (#11991)

This commit is contained in:
Marc Cornellà
2023-10-18 20:01:58 +02:00
committed by GitHub
parent b696288337
commit 8152dc673b
2 changed files with 6 additions and 3 deletions

View File

@@ -250,7 +250,8 @@ receive further support.
| `git_develop_branch` | Returns the name of the “development” branch: `dev`, `devel`, `development` if they exist, `develop` otherwise. |
| `git_main_branch` | Returns the name of the main branch: `main` if it exists, `master` otherwise. |
| `grename <old> <new>` | Renames branch `<old>` to `<new>`, including on the origin remote. |
| `gbda` | Deletes all merged and squash-merged branches |
| `gbda` | Deletes all merged branches |
| `gbds` | Deletes all squash-merged branches (**Note: performance degrades with number of branches**) |
### Work in Progress (WIP)