You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Expose branch-name flag
Also re-orders the flags so that they more closely match the help
output, but required flags are still at the top.
For #103
* Add line which was mistakenly removed
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,7 @@ Usage:
70
70
services promote [flags]
71
71
72
72
Flags:
73
+
--branch-name string the name of the branch on the destination repository for the pull request
73
74
--cache-dir string where to cache Git checkouts (default "~/.promotion/cache")
74
75
--commit-email string the email to use for commits when creating branches
75
76
--commit-message string the msg to use on the resultant commit and pull request
@@ -89,6 +90,7 @@ Global Flags:
89
90
90
91
This will _copy_ all files under `/services/service-a/base/config/*` in `first-environment` to `second-environment`, commit and push, and open a PR for the change. Any of these arguments may be provided as environment variables, using all upper case and replacing `-` with `_`. Hence you can set CACHE_DIR, COMMIT_EMAIL, etc.
91
92
93
+
-`--branch-name` : use this to override the branch name on the destination Git repository, which will otherwise be generated automatically.
92
94
-`--cache-dir` : path on the local filesystem in which Git checkouts will be cached.
93
95
-`--commit-email` : Git commits require an associated email address and username. This is the email address. May be set via ~/.gitconfig.
94
96
-`--commit-message` : use this to override the commit message which will otherwise be generated automatically.
@@ -117,3 +119,4 @@ Inside of the `plugin` folder you'll see documentation and other files related t
0 commit comments