![]() Git_do fetch -q "$ORIGIN" "$MASTER_BRANCH" Require_tag_absent "$VERSION_PREFIX$VERSION" Local first_branch=$(echo $ > /dev/null 2>&1& echo 'Delete Successed'|| die "Did not find branch: "ĭEFINE_boolean fetch false "fetch from $ORIGIN before performing finish" F Local hotfix_branches=$(echo "$(git_local_branches)" | grep "^$PREFIX") If ! git branch -no-color -contains "$BASE" 2>/dev/nullĭie "fatal: Given base '$BASE' is not a valid commit on '$MASTER_BRANCH'." Test `expr match "qq_"` -ne 0 & MASTER_BRANCH="$MASTER_BRANCH"_qq & Local tagname=$(git name-rev -tags -no- undefined -name-only "$base") Local branch_sha=$(git rev-parse "$fullname") Local master_sha=$(git rev-parse "$MASTER_BRANCH") Local base=$(git merge-base "$fullname" "$MASTER_BRANCH") Short_names=$(echo "$hotfix_branches" | sed "s ^$PREFIX g") Warn "You can start a new hotfix branch:"Ĭurrent_branch=$(git branch -no-color | grep '^* ' | grep -v 'no branch' | sed 's/^* //g') Hotfix_branches=$(echo "$(git_local_branches)" | grep "^$PREFIX") PREFIX=$(git config -get )Įcho "usage: git flow hotfix "Įcho " git flow hotfix finish "ĭEFINE_boolean verbose false 'verbose (more) output' v VERSION_PREFIX=$(eval "echo `git config -get `") 你想使用gitflow删除其它存在分支嘛?不需要 git branch -D ,你还可以git flow hotfix/feature delete XX
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |