my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
3.1 KiB

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