Skip to content

Instantly share code, notes, and snippets.

@ajsharp
Created November 28, 2018 03:16
Show Gist options
  • Save ajsharp/3cdc7bda232c6f886c6b66e88f0f3a68 to your computer and use it in GitHub Desktop.
Save ajsharp/3cdc7bda232c6f886c6b66e88f0f3a68 to your computer and use it in GitHub Desktop.
A set of commands to clone environment vars from one heroku app to another
heroku config -s -a SOURCE_APP | ruby -e '`heroku config:set #{$stdin.read.split("\n").join(" ")} -a DEST_APP`'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment