@@ -108,9 +108,9 @@ report the bug or propose the feature you'd like to add.
108
108
It's best to synchronize your fork with the upstream repository, then create a
109
109
new, separate branch for each piece of work you want to do. E.g.::
110
110
111
- git checkout master
111
+ git checkout main
112
112
git fetch upstream
113
- git rebase upstream/master
113
+ git rebase upstream/main
114
114
git push
115
115
git checkout -b shiny-new-feature
116
116
git push -u origin shiny-new-feature
@@ -120,18 +120,18 @@ this branch specific to one bug or feature so it is clear what the branch brings
120
120
Zarr.
121
121
122
122
To update this branch with latest code from Zarr, you can retrieve the changes from
123
- the master branch and perform a rebase::
123
+ the main branch and perform a rebase::
124
124
125
125
git fetch upstream
126
- git rebase upstream/master
126
+ git rebase upstream/main
127
127
128
- This will replay your commits on top of the latest Zarr git master . If this leads to
128
+ This will replay your commits on top of the latest Zarr git main . If this leads to
129
129
merge conflicts, these need to be resolved before submitting a pull request.
130
- Alternatively, you can merge the changes in from upstream/master instead of rebasing,
130
+ Alternatively, you can merge the changes in from upstream/main instead of rebasing,
131
131
which can be simpler::
132
132
133
133
git fetch upstream
134
- git merge upstream/master
134
+ git merge upstream/main
135
135
136
136
Again, any conflicts need to be resolved before submitting a pull request.
137
137
@@ -206,7 +206,7 @@ Documentation
206
206
207
207
Docstrings for user-facing classes and functions should follow the
208
208
`numpydoc
209
- <https://github.com/numpy/numpy/blob/master /doc/HOWTO_DOCUMENT.rst.txt> `_
209
+ <https://github.com/numpy/numpy/blob/main /doc/HOWTO_DOCUMENT.rst.txt> `_
210
210
standard, including sections for Parameters and Examples. All examples
211
211
should run and pass as doctests under Python 3.8. To run doctests,
212
212
activate your development environment, install optional requirements,
@@ -242,7 +242,7 @@ one core developers before being merged. Ideally, pull requests submitted by a c
242
242
should be reviewed and approved by at least one other core developers before being merged.
243
243
244
244
Pull requests should not be merged until all CI checks have passed (GitHub Actions
245
- Codecov) against code that has had the latest master merged in.
245
+ Codecov) against code that has had the latest main merged in.
246
246
247
247
Compatibility and versioning policies
248
248
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -337,9 +337,9 @@ Release procedure
337
337
Most of the release process is now handled by github workflow which should
338
338
automatically push a release to PyPI if a tag is pushed.
339
339
340
- Checkout and update the master branch::
340
+ Checkout and update the main branch::
341
341
342
- $ git checkout master
342
+ $ git checkout main
343
343
$ git pull
344
344
345
345
Verify all tests pass on all supported Python versions, and docs build::
0 commit comments