File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ git remote -v
170170If 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
176176If it's working, you should see text like "Python app detected", then
@@ -192,13 +192,19 @@ to see.
192192
193193As you work on your project, after every change that you want to test on
194194Heroku, 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.
You can’t perform that action at this time.
0 commit comments