Skip to content

Commit

Permalink
Rename master branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
ifox committed Sep 2, 2021
1 parent abf2252 commit 93e665e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Twill follows [Semantic Versioning](https://semver.org/). Major releases are rel
When referencing Twill from your application, you should always use a version constraint such as `^2.0`, since major releases of Twill do include breaking changes.

# Which branch?
All bug fixes should be sent to the latest stable branch (`2.x`). Bug fixes should never be sent to the `master` branch unless they fix features that exist only in the upcoming release.
All bug fixes should be sent to the latest stable branch (`2.x`). Bug fixes should never be sent to the `main` branch unless they fix features that exist only in the upcoming release.

Minor features that are fully backwards compatible with the current Twill release may be sent to the latest stable branch (`2.x`).

Major new features should always be sent to the `master` branch, which contains the upcoming Twill release.
Major new features should always be sent to the `main` branch, which contains the upcoming Twill release.

Please send coherent history — make sure each individual commit in your pull request is meaningful. If you had to make a lot of intermediate commits while developing, please [squash them](http://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting.

Expand Down
2 changes: 1 addition & 1 deletion docs-api/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
->in($dir);

$versions = GitVersionCollection::create($dir)
->add('master', 'master branch')
->add('main', 'main branch')
->add('1.1', '1.1 branch')
->add('1.2', '1.2 branch')
->add('2.x', '2.x branch');
Expand Down
2 changes: 1 addition & 1 deletion docs/.sections/api-documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
[Doctum](https://github.com/code-lts/doctum) generated API documentation of the framework is available [here](https://twill.io/docs/api/2.x) for `2.x` and previous versions.

- [`2.x`](https://twill.io/docs/api/2.x)
- [`master`](https://twill.io/docs/api/master)
- [`main`](https://twill.io/docs/api/main)
- [`1.2`](https://twill.io/docs/api/1.2)
- [`1.1`](https://twill.io/docs/api/1.1)
6 changes: 3 additions & 3 deletions docs/.sections/preface.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Additional contributors include [Laurens van Heems](https://area17.com/about/lau
### Contribution guide

#### Code of Conduct
Twill is dedicated to building a welcoming, diverse, safe community. We expect everyone participating in the Twill community to abide by our [Code of Conduct](https://github.com/area17/twill/blob/master/CODE_OF_CONDUCT.md). Please read it. Please follow it.
Twill is dedicated to building a welcoming, diverse, safe community. We expect everyone participating in the Twill community to abide by our [Code of Conduct](https://github.com/area17/twill/blob/main/CODE_OF_CONDUCT.md). Please read it. Please follow it.

#### Bug reports and features submission
To submit an issue or request a feature, please do so on [Github](https://github.com/area17/twill/issues).
Expand All @@ -175,11 +175,11 @@ Twill follows [Semantic Versioning](https://semver.org/). Major releases are rel
When referencing Twill from your application, you should always use a version constraint such as `^2.0`, since major releases of Twill do include breaking changes.

#### Which branch?
All bug fixes should be sent to the latest stable branch (`2.x`). Bug fixes should never be sent to the `master` branch unless they fix features that exist only in the upcoming release.
All bug fixes should be sent to the latest stable branch (`2.x`). Bug fixes should never be sent to the `main` branch unless they fix features that exist only in the upcoming release.

Minor features that are fully backwards compatible with the current Twill release may be sent to the latest stable branch (`2.x`).

Major new features should always be sent to the `master` branch, which contains the upcoming Twill release.
Major new features should always be sent to the `main` branch, which contains the upcoming Twill release.

Please send coherent history — make sure each individual commit in your pull request is meaningful. If you had to make a lot of intermediate commits while developing, please [squash them](http://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting.

Expand Down
2 changes: 1 addition & 1 deletion frontend/js/mixins/cropper.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
props: {
// Cropper options @see: https://github.com/fengyuanchen/cropperjs/blob/master/README.md#options
// Cropper options @see: https://github.com/fengyuanchen/cropperjs/blob/main/README.md#options
aspectRatio: {
type: Number,
default: null
Expand Down

0 comments on commit 93e665e

Please sign in to comment.