Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Allowed a release branch to be renamed #392

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions git-flow-release
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ git flow release finish
git flow release publish
git flow release track
git flow release delete
git flow release rename

Manage your release branches.

Expand Down Expand Up @@ -1095,3 +1096,15 @@ r,[no]remote Delete remote branch
echo "- You are now on branch '$(git_current_branch)'"
echo
}

cmd_rename() {
OPTIONS_SPEC="\
git flow release rename <new_name> [<new_name>]

Rename a given release branch
--
h,help! Show this help
showcommands! Show git commands while executing them
"
gitflow_rename_branch "$@"
}