Skip to content

Commit 9b82d3e

Browse files
authored
Update README.md
1 parent 26a4086 commit 9b82d3e

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ git remote -v
170170
If all went well, you are good to go! Deploy your app to Heroku:
171171

172172
```bash
173-
git push heroku master
173+
git push heroku main
174174
```
175175

176176
If it's working, you should see text like "Python app detected", then
@@ -192,13 +192,19 @@ to see.
192192

193193
As you work on your project, after every change that you want to test on
194194
Heroku, make a commit (`git add -A`, `git commit -m`) and then repeat the
195-
previous last step (`git push heroku master`).
195+
previous last step (`git push heroku main`).
196196

197197

198198
# Troubleshooting
199199

200+
200201
* The terminal output from launching a similar project is found here:
201202
<https://output.jsbin.com/vetomif/>
203+
204+
* **`main` vs `master`:** This guide is written assuming you are using a
205+
project which calls the default branch "main". Some versions of git might
206+
call the default branch "master", in which case you will have to use
207+
`git push heroku master` instead of `git push heroku main`
202208

203209
* **Disabling `collectstatic`:** For the purpose of launching this project, you
204210
don't need the "collect static" command.

0 commit comments

Comments
 (0)