Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
66179bda
Commit
66179bda
authored
Aug 17, 2016
by
Marc Cornellà
Committed by
GitHub
Aug 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix git-flow README
- Fix "installation" information - Add links to github project - Transform list of aliases into table with descriptions
parent
0615dfe3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
31 deletions
+26
-31
README.md
plugins/git-flow/README.md
+26
-31
No files found.
plugins/git-flow/README.md
View file @
66179bda
# Git
flow plugin installatio
n
# Git
-Flow plugi
n
```
bash
git clone https://github.com/robbyrussell/oh-my-zsh.git
This plugin adds completion and aliases for the
`git-flow`
command. More information
at https://github.com/nvie/gitflow.
cp
oh-my-zsh/plugins/git-flow/git-flow.plugin.zsh ~/.git-flow-completion.zsh
vim ~/.zshrc
Enable git-flow plugin in your zshrc file:
```
plugins=(... git-flow)
```
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
## Aliases
plugins
=(
git git-flow
)
source
~/.git-flow-completion.zsh
```
## Your new git-flow alias
More information about
`git-flow`
commands:
https://github.com/nvie/gitflow/wiki/Command-Line-Arguments
```
bash
alias
gfl
=
'git flow'
alias
gfli
=
'git flow init'
alias
gcd
=
'git checkout develop'
alias
gch
=
'git checkout hotfix'
alias
gcr
=
'git checkout release'
alias
gflf
=
'git flow feature'
alias
gflh
=
'git flow hotfix'
alias
gflr
=
'git flow release'
alias
gflfs
=
'git flow feature start'
alias
gflhs
=
'git flow hotfix start'
alias
gflrs
=
'git flow release start'
alias
gflff
=
'git flow feature finish'
alias
gflhf
=
'git flow hotfix finish'
alias
gflrf
=
'git flow release finish'
```
| Alias | Command | Description |
|---------|---------------------------|----------------------------------------|
|
`gfl`
|
`git flow`
| Git-Flow command |
|
`gfli`
|
`git flow init`
| Initialize git-flow repository |
|
`gcd`
|
`git checkout develop`
| Check out develop branch |
|
`gch`
|
`git checkout hotfix`
| Check out hotfix branch |
|
`gcr`
|
`git checkout release`
| Check out release branch |
|
`gflf`
|
`git flow feature`
| List existing feature branches |
|
`gflh`
|
`git flow hotfix`
| List existing hotfix branches |
|
`gflr`
|
`git flow release`
| List existing release branches |
|
`gflfs`
|
`git flow feature start`
| Start a new feature:
`gflfs <name>`
|
|
`gflhs`
|
`git flow hotfix start`
| Start a new hotfix:
`gflhs <version>`
|
|
`gflrs`
|
`git flow release start`
| Start a new release:
`gflrs <version>`
|
|
`gflff`
|
`git flow feature finish`
| Finish feature:
`gflff <name>`
|
|
`gflhf`
|
`git flow hotfix finish`
| Finish hotfix:
`gflhf <version>`
|
|
`gflrf`
|
`git flow release finish`
| Finish release:
`gflrf <version>`
|
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