]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/git-flow/README.md
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / git-flow / README.md
1 # Git-Flow plugin
2
3 This plugin adds completion and aliases for the [`git-flow` command](https://github.com/nvie/gitflow).
4
5 To use it, add `git-flow` to the plugins array in your zshrc file:
6
7 ```zsh
8 plugins=(... git-flow)
9 ```
10
11 ## Aliases
12
13 | Alias     | Command                                   | Description                                    |
14 | --------- | ----------------------------------------- | ---------------------------------------------- |
15 | `gcd`     | `git checkout develop`                    | Check out develop branch                       |
16 | `gch`     | `git checkout hotfix`                     | Check out hotfix branch                        |
17 | `gcr`     | `git checkout release`                    | Check out release branch                       |
18 | `gfl`     | `git flow`                                | Git-Flow command                               |
19 | `gflf`    | `git flow feature`                        | List existing feature branches                 |
20 | `gflff`   | `git flow feature finish`                 | Finish feature: `gflff <name>`                 |
21 | `gflffc`  | `gflff ${$(git_current_branch)#feature/}` | Finish current feature                         |
22 | `gflfp`   | `git flow feature publish`                | Publish feature: `gflfp <name>`                |
23 | `gflfpc`  | `gflfp ${$(git_current_branch)#feature/}` | Publish current feature                        |
24 | `gflfpll` | `git flow feature pull`                   | Pull remote feature: `gflfpll <remote> <name>` |
25 | `gflfs`   | `git flow feature start`                  | Start a new feature: `gflfs <name>`            |
26 | `gflh`    | `git flow hotfix`                         | List existing hotfix branches                  |
27 | `gflhf`   | `git flow hotfix finish`                  | Finish hotfix: `gflhf <version>`               |
28 | `gflhfc`  | `gflhf ${$(git_current_branch)#hotfix/}`  | Finish current hotfix                          |
29 | `gflhp`   | `git flow hotfix publish`                 | Publish hostfix: `gflhp <version>`             |
30 | `gflhpc`  | `gflhp ${$(git_current_branch)#hotfix/}`  | Finish current hotfix                          |
31 | `gflhs`   | `git flow hotfix start`                   | Start a new hotfix: `gflhs <version>`          |
32 | `gfli`    | `git flow init`                           | Initialize git-flow repository                 |
33 | `gflr`    | `git flow release`                        | List existing release branches                 |
34 | `gflrf`   | `git flow release finish`                 | Finish release: `gflrf <version>`              |
35 | `gflrfc`  | `gflrf ${$(git_current_branch)#release/}` | Finish current release                         |
36 | `gflrp`   | `git flow release publish`                | Publish release: `gflrp <version>`             |
37 | `gflrpc`  | `gflrp ${$(git_current_branch)#release/}` | Publish current release                        |
38 | `gflrs`   | `git flow release start`                  | Start a new release: `gflrs <version>`         |
39
40 [More information about `git-flow` commands](https://github.com/nvie/gitflow/wiki/Command-Line-Arguments).