Skip to content

Commit 19623f7

Browse files
authored
add notification of master->main
1 parent 90fc725 commit 19623f7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,14 @@
33
Documents and policies regarding the Astropy Project as a whole. *Drafts* of policies under consideration go into the `drafts` directory. Other directories can be created as needed to maintain organization, but as a general guideline a new directory should not be created unless it contains (or will contain) at least 3 files.
44

55
Additionally, the issue tracker will be used to discuss larger Project-wide issues. (I.e., those that are not particular to a specific pacakge or other repository.)
6+
7+
## If you locally cloned this repo before 15 June 2021
8+
9+
The primary branch for this repo has been transitioned from ``master`` to ``main``. If you have a local clone of this repository and want to keep your local branch in sync with this repo, you'll need to do the following in your local clone from your terminal:
10+
```
11+
git fetch --all --prune
12+
# you can stop here if you don't use your local "master"/"main" branch
13+
git branch -m master main
14+
git branch -u origin/main main
15+
```
16+
If you are using a GUI to manage your repos you'll have to find the equivalent commands as it's different for different programs. Alternatively, you can just delete your local clone and re-clone!

0 commit comments

Comments
 (0)