Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
f1250cfb
Commit
f1250cfb
authored
Oct 28, 2018
by
Marco Zühlke
Committed by
Marc Cornellà
Oct 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-hubflow: add README (#7361)
parent
9db3c945
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
22 deletions
+24
-22
README.md
plugins/git-hubflow/README.md
+24
-0
git-hubflow.plugin.zsh
plugins/git-hubflow/git-hubflow.plugin.zsh
+0
-22
No files found.
plugins/git-hubflow/README.md
0 → 100644
View file @
f1250cfb
# git-hubflow plugin
This plugin adds completion for
[
HubFlow
](
https://datasift.github.io/gitflow/
)
(
GitFlow
for GitHub), as well as some
aliases for common commands. HubFlow is a git extension to make it easy to use GitFlow with GitHub. Based on the
original gitflow extension for git.
The hubflow tool has to be
[
installed
](
https://github.com/datasift/gitflow#installation
)
separately.
To use it, add
`git-hubflow`
to the plugins array in your zshrc file:
```
zsh
plugins
=(
... git-hubflow
)
```
## Aliases
| Alias | Command | Description |
|-------|------------------|------------------------------------------------------------------|
| ghf |
`git hf`
| Print command overview |
| ghff |
`git hf feature`
| Manage your feature branches |
| ghfr |
`git hf release`
| Manage your release branches |
| ghfh |
`git hf hotfix`
| Manage your hotfix branches |
| ghfs |
`git hf support`
| Manage your support branches |
| ghfu |
`git hf update`
| Pull upstream changes down into your master and develop branches |
plugins/git-hubflow/git-hubflow.plugin.zsh
View file @
f1250cfb
#!zsh
#
# Installation
# ------------
#
# To achieve git-hubflow completion nirvana:
#
# 0. Update your zsh's git-completion module to the newest version.
# From here: https://github.com/zsh-users/zsh/blob/master/Completion/Unix/Command/_git
#
# 1. Install this file. Either:
#
# a. Place it in your .zshrc:
#
# b. Or, copy it somewhere (e.g. ~/.git-hubflow-completion.zsh) and put the following line in
# your .zshrc:
#
# source ~/.git-hubflow-completion.zsh
#
# c. Or, use this file as an oh-my-zsh plugin.
#
alias
ghf
=
'git hf'
alias
ghff
=
'git hf feature'
alias
ghfr
=
'git hf release'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment