@@ -21,7 +21,7 @@ TryLib currently supports **Freestyle** projects, when your test suite consist o
2121 -U, --lines-of-context ... Generate a diff with n lines of context (like git-diff's -U option)
2222 -s, --staged Use staged changes only to generate the diff
2323 -w, --safelist ... Generate the patch for only the safelisted files
24- -b, --branch ... Remote branch to diff and try against [master ]
24+ -b, --branch ... Remote branch to diff and try against [main ]
2525
2626 -c, --show-results Show final try job results
2727 -P, --show-progress Print subtasks progressively as they complete
@@ -152,8 +152,8 @@ More info can be found in the [divide and concur](http://codeascraft.etsy.com/20
152152
153153Try will work with your branches! The below scenarios are supported:
154154
155- * You are working on ** master ** :
156- * You want to try against master
155+ * You are working on ** main ** :
156+ * You want to try against main
157157
158158 try [options] [subjobs]
159159 * You want to diff and try against a different branch
@@ -164,13 +164,13 @@ Try will work with your branches! The below scenarios are supported:
164164 * You want to try against that branch
165165
166166 try [options] [subjobs]
167- * You want to diff and try against a different branch (master for example)
167+ * You want to diff and try against a different branch (main for example)
168168
169- try --branch=master [options] [subjobs]
169+ try --branch=main [options] [subjobs]
170170
171171* You are working on a ** local branch not tracked**
172172 * If the remote has a branch with the same name, it will be used to generate the diff and try against it
173- * If the remote does not have a branch with the same name, it will use the default remote : ** master **
173+ * If the remote does not have a branch with the same name, it will use the default remote : ** main **
174174 * You want to diff and try against a specific remote branch
175175
176176 try --branch=my_branch [options] [subjobs]
@@ -181,7 +181,7 @@ Prior to generate the diff, you can configure try to run a list of pre-checks.
181181
182182 $pre_checks = array(
183183 new TryLib\Precheck\ScriptRunner('/path/to/some/script'),
184- new TryLib\Precheck\GitCopyBehind(array('master ')),
184+ new TryLib\Precheck\GitCopyBehind(array('main ')),
185185 new TryLib\Precheck\GitCopyAge(48, 96, $remote_branch)
186186 new TryLib\Precheck\GitReportUntracked(),
187187 );
0 commit comments