Skip to content

Commit a99f7f7

Browse files
authored
Merge pull request #1621 from conda-forge/beckermr-patch-1
ENH add detail to branch migration announcement
2 parents bdb890a + 55ed187 commit a99f7f7

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/user/announcements.rst

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,18 @@ Our announcements are published to an RSS feed `here <https://conda-forge.org/do
1212

1313
We will be migrating the default branches of all feedstocks and other ``conda-forge`` repos
1414
from ``master`` to ``main``. We do expect some minor hiccups while this migration is
15-
going on. If you encounter any problems, please comment on this Github
16-
`issue <https://github.com/conda-forge/conda-forge.github.io/issues/1162>`_.
15+
going on. You will need to change to the ``main`` branch from ``master`` on any local clones via the
16+
following git commands:
17+
18+
.. code-block::
19+
20+
git branch -m master main
21+
git fetch origin
22+
git branch -u origin/main main
23+
git remote set-head origin -a
24+
25+
If you encounter any problems, please comment on this Github
26+
`issue <https://github.com/conda-forge/conda-forge.github.io/issues/1162>`_.
1727

1828
2021
1929
----

0 commit comments

Comments
 (0)