feat(git): add gbcopy (#13847)

Signed-off-by: NunzioFornitto <FRNNNZ00C24B202G@studium.unict.it>
This commit is contained in:
Nunzio Fornitto
2026-09-16 10:39:06 +02:00
committed by GitHub
parent 6cd3a0baf6
commit 2ea948e05b
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -255,6 +255,7 @@ receive further support.
| `git_current_user_name` | Returns the `user.name` config value (Lives in `lib/git.zsh`) |
| `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 |
| `gbcopy` | Copies current branch name to clipboard |
| `grename <old> <new>` | Renames branch `<old>` to `<new>`, including on the origin remote |
| `gbda` | Deletes all merged branches |
| `gbds` | Deletes all squash-merged branches (**Note: performance degrades with number of branches**) |