Skip to content

Commit bf0bb8a

Browse files
authored
Merge pull request #1683 from ssurbhi560/change-master-to-main
2 parents 9f8df2d + cc6be62 commit bf0bb8a

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

src/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ To build the docs locally, follow the steps mentioned below:
1111

1212
Documentation update PRs should only change the files in ``src``.
1313

14-
Once the PR is merged to ``master``, you can find the auto-generated html files in ``docs`` directory.
14+
Once the PR is merged to ``main``, you can find the auto-generated html files in ``docs`` directory.
1515

src/maintainer/adding_pkgs.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,21 +166,21 @@ much easier to review. The following steps will reset your fork of
166166
staged-recipes and should be executed from within a clone of your forked
167167
staged-recipes directory.
168168

169-
#. Checkout your master branch::
169+
#. Checkout your main branch::
170170

171-
git checkout master
171+
git checkout main
172172

173173
#. Define the conda-forge/staged-recipes repository as ``upstream`` (if you have not already done so).::
174174

175175
git remote add upstream https://github.com/conda-forge/staged-recipes.git
176176

177-
#. Pull all of the upstream commits from the upstream master branch.::
177+
#. Pull all of the upstream commits from the upstream main branch.::
178178

179-
git pull --rebase upstream master
179+
git pull --rebase upstream main
180180

181181
#. Push all of the changes to your fork on GitHub (make sure there are not any changes on GitHub that you need because they will be overwritten).::
182182

183-
git push origin master --force
183+
git push origin main --force
184184

185185
Once these steps are complete, you can continue with the steps in :ref:`staging_steps` to stage your new package recipe using your existing staged-recipes fork.
186186

src/maintainer/conda_forge_yml.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ defaults are as follows:
269269
# repository name, usually filled in automatically
270270
repo_name: ""
271271
# branch name to execute on
272-
branch_name: master
272+
branch_name: main
273273
# branch name to use for rerender+webservices github actions and
274274
# conda-forge-ci-setup-feedstock references
275-
tooling_branch_name: master
275+
tooling_branch_name: main
276276
277277
.. _idle_timeout_minutes:
278278

@@ -520,11 +520,11 @@ This parameter restricts uploading access on work from certain branches of the
520520
same repo. Only the branch listed in ``upload_on_branch`` will trigger uploading
521521
of packages to the target channel. The default is to skip this check if the key
522522
``upload_on_branch`` is not in ``conda-forge.yml``. To restrict uploads to the
523-
master branch:
523+
main branch:
524524

525525
.. code-block:: yaml
526526
527-
upload_on_branch: master
527+
upload_on_branch: main
528528
529529
.. _win:
530530

src/maintainer/updating_pkgs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ Here we assume that you would like to update the feedstock ``<feedstock>``. Feed
8080

8181
This step is only required if you have forked some time ago and your fork is missing commits from the feedstock at conda-forge.
8282

83-
- Make sure you are on the master branch: ``git checkout master``
83+
- Make sure you are on the main branch: ``git checkout main``
8484
- Register conda-forge's feedstock with ``git remote add upstream https://github.com/conda-forge/<feedstock>``
8585
- Fetch the latest updates with ``git fetch upstream``
86-
- Pull in the latest changes into your master branch: ``git rebase upstream/master``
86+
- Pull in the latest changes into your main branch: ``git rebase upstream/main``
8787

8888
#. Creating your changes in a new branch
8989

src/user/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ We are glad to know that you would like to contribute to the ``conda-forge`` doc
4242
2. `Clone <https://help.github.com/articles/cloning-a-repository/>`_ this fork onto your computer.
4343
3. `Check out
4444
<https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging>`_
45-
a new branch deriving from ``master`` to do your work.
45+
a new branch deriving from ``main`` to do your work.
4646
4. Make and `commit
4747
<https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository>`_
4848
your changes.

0 commit comments

Comments
 (0)