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
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,6 +163,16 @@ The command includes dotfiles by default (e.g `.htaccess` will be committed)
163
163
With `--no-dotfiles` files starting with `.` are ignored.
164
164
165
165
166
+
167
+
#### <aid="dry-run">--dry-run</a>
168
+
*__optional__
169
+
* Default: `undefined`
170
+
* Example:
171
+
*`ngh` -- Normal behaviour: Changes are applied.
172
+
*`ngh --dry-run` -- No changes are applied at all.
173
+
174
+
Run through without making any changes. This can be very usefull, because it outputs what would happend without doing anything.
175
+
166
176
## Extra
167
177
168
178
For your convenience, the command will recognize the [environment variable](https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings)`GH_TOKEN` and will replace this pattern in the `--repo` string. Please __do NOT disable the silent mode__ if you have any credentials in the repository URL! Read more about [Github tokens here](https://help.github.com/articles/creating-an-access-token-for-command-line-use/).
Copy file name to clipboardExpand all lines: bin/angular-cli-ghpages
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ program
15
15
.option('-e, --email <email>','The git user-email which is associated with this commit')
16
16
.option('-S, --no-silent','Logging is in silent mode by default. The option enables extended console logging. Keep this untouched if the repository URL or other information passed to git commands is sensitive!')
17
17
.option('-T, --no-dotfiles','Includes dotfiles by default. When set files starting with `.` are ignored.')
18
+
.option('--dry-run','For testing: Run through without making any changes.')
0 commit comments