git-stack-cli 1.13.2 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -83,6 +83,19 @@ To update your local branch with the latest changes in the remote branch (e.g. `
83
83
  git stack rebase
84
84
  ```
85
85
 
86
+ ### Customizing branch name
87
+
88
+ By default `git stack` generates a unique branch name such as `gs-3cmrMBSUj`.
89
+
90
+ You can specify a prefix for the generated branch name by using either the environment variable or the command line option.
91
+ In the example below branches would be generated such as `dev/magus/gs-3cmrMBSUj`.
92
+
93
+ ```bash
94
+ GIT_STACK_BRANCH_PREFIX="dev/magus/" git stack
95
+
96
+ git stack --branch-prefix="dev/magus/"
97
+ ```
98
+
86
99
  ## Why?
87
100
 
88
101
  The goal of `git stack` is to combine the **simplicity of developing in a single branch** in order to **preserve your commit history** while also **grouping commits into pull requests for code review**.