Skip to content

Commit dfea88e

Browse files
committed
In git prep, change refs to master to main
1 parent 0053188 commit dfea88e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

resources/prep/git.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Make sure your change appears online.
8686
### 4. Update your local repository (local clone) with the changes of your collaborators
8787

8888
```bash
89-
git pull origin master
89+
git pull origin main
9090
```
9191

9292
```{admonition} "Short names for repositories:"
@@ -129,7 +129,7 @@ Decide which changes you want to keep, and modify the file so it looks as you wi
129129
```bash
130130
git add README.md
131131
git commit -m "resolving merge conflict"
132-
git push origin master
132+
git push origin main
133133
```
134134

135135
You can continue working on as usual.
@@ -192,7 +192,7 @@ Make some changes to a file and commit and publish them.
192192
```bash
193193
git add README.md
194194
git commit -m "more changes"
195-
git push origin master
195+
git push origin main
196196
```
197197

198198
```{admonition} Note

0 commit comments

Comments
 (0)