paint-brush
3 Easy Steps to Change Main Git Branch on Herokuby@MichaelB
1,523 reads
1,523 reads

3 Easy Steps to Change Main Git Branch on Heroku

by Michael1mAugust 20th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Heroku created the ability to push a Git repos from master to main instead of master. The move was easy and fast, and no more master branches in my Git repo or Heroku builds. Have any questions? Let me know in the comments below! You can deploy from main using git push heroku main or push master from main to main to deploy your app from Heroku's main repository or use the latest version of your app to test your app's ability to use Heroku build.

Company Mentioned

Mention Thumbnail
featured image - 3 Easy Steps to Change Main Git Branch on Heroku
Michael HackerNoon profile picture
Michael

Michael

@MichaelB

I run Dev Spotlight - we write tech content for tech companies. Email at [email protected].

About @MichaelB
LEARN MORE ABOUT @MICHAELB'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Michael HackerNoon profile picture
Michael@MichaelB
I run Dev Spotlight - we write tech content for tech companies. Email at [email protected].

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite