git: Add branch-rename

Small script to rename a branch locally and on a given remote.
This commit is contained in:
2025-09-12 14:35:44 +02:00
parent 0534ec493e
commit bb7ef3769d
2 changed files with 27 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
abort = "!git-zsh-autoload abort"
autosquash = -c sequence.editor=/bin/true rebase -i --autosquash
autofixup= autosquash
branch-rename = "!git-zsh-autoload branch-rename"
c = commit
changes = flog HEAD...FETCH_HEAD
checkout-worktree = "!git-zsh-autoload checkout-worktree"