Back to Ohmyzsh

Git-Flow plugin

plugins/git-flow/README.md

latest3.1 KB
Original Source

Git-Flow plugin

This plugin adds completion and aliases for the git-flow command.

To use it, add git-flow to the plugins array in your zshrc file:

zsh
plugins=(... git-flow)

Aliases

AliasCommandDescription
gcdgit checkout developCheck out develop branch
gchgit checkout hotfixCheck out hotfix branch
gcrgit checkout releaseCheck out release branch
gflgit flowGit-Flow command
gflfgit flow featureList existing feature branches
gflffgit flow feature finishFinish feature: gflff <name>
gflffcgflff ${$(git_current_branch)#feature/}Finish current feature
gflfpgit flow feature publishPublish feature: gflfp <name>
gflfpcgflfp ${$(git_current_branch)#feature/}Publish current feature
gflfpllgit flow feature pullPull remote feature: gflfpll <remote> <name>
gflfsgit flow feature startStart a new feature: gflfs <name>
gflhgit flow hotfixList existing hotfix branches
gflhfgit flow hotfix finishFinish hotfix: gflhf <version>
gflhfcgflhf ${$(git_current_branch)#hotfix/}Finish current hotfix
gflhpgit flow hotfix publishPublish hostfix: gflhp <version>
gflhpcgflhp ${$(git_current_branch)#hotfix/}Finish current hotfix
gflhsgit flow hotfix startStart a new hotfix: gflhs <version>
gfligit flow initInitialize git-flow repository
gflrgit flow releaseList existing release branches
gflrfgit flow release finishFinish release: gflrf <version>
gflrfcgflrf ${$(git_current_branch)#release/}Finish current release
gflrpgit flow release publishPublish release: gflrp <version>
gflrpcgflrp ${$(git_current_branch)#release/}Publish current release
gflrsgit flow release startStart a new release: gflrs <version>

More information about git-flow commands.