Skip to content

Commit

Permalink
Rename master to main for plone.api
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Dec 17, 2024
1 parent 7002956 commit 3d0ceb8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
[submodule "submodules/plone.api"]
path = submodules/plone.api
url = https://github.com/plone/plone.api.git
branch = master
branch = main
2 changes: 1 addition & 1 deletion docs/contributing/documentation/admins.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Only members of the Plone Documentation Team should update git submodules from t
git pull
# plone.api
cd submodules/plone.api
git checkout master
git checkout main
git pull
# plone.restapi
cd ../../submodules/plone.restapi
Expand Down
6 changes: 1 addition & 5 deletions docs/contributing/documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Plone documentation consists of several repositories.
When you {doc}`setup and build <setup-build>` the documentation, it will automatically pull in the other repositories via git submodules.

```{important}
We currently use the branches `plone/documentation@6.0`, `plone/plone.api@master`, `plone/plone.restapi@main`, and `plone/volto@main` as the default branches for developing Plone 6 Documentation.
We currently use the branches `plone/documentation@6.0`, `plone/plone.api@main`, `plone/plone.restapi@main`, and `plone/volto@main` as the default branches for developing Plone 6 Documentation.
```


Expand Down Expand Up @@ -208,10 +208,6 @@ You already imported the external repositories into the `plone/documentation` re
You might need to resolve conflicts.
```shell
# for plone.api
git checkout master
# for plone.restapi or volto
git checkout main
# pull in the latest changes
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/first-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ _Plone git workflow_

Once you have your environment set up, then you can follow standard best practices for working with git.

In the following command examples, we will use `main` as the default branch, although `master` may still be in use for some repositories.
In the following command examples, you should use `main` as the default branch, although `master` may still be in use for some repositories.

Always start by checking out the default branch then update the default branch.

Expand Down

0 comments on commit 3d0ceb8

Please sign in to comment.