Today I Learned

hashrocket A Hashrocket project

Fork A Heroku Project

The Heroku CLI has a useful command I recently learned about, called heroku fork. Here's how it works:

$ heroku fork --from tilex-staging --to tilex

As the example suggests, I've used this tool to clone a tricky-to-set-up Heroku staging application as a production application. It's great.

The bad news is that Heroku us sunsetting fork as a core CLI command. Use it while you can. After that, you can fork the Github repo and use it as CLI plugin.

See More #workflow TILs