Skip to content

Instantly share code, notes, and snippets.

@rody
Created November 24, 2015 11:38
Show Gist options
  • Save rody/786338f36e87124e9da3 to your computer and use it in GitHub Desktop.
Save rody/786338f36e87124e9da3 to your computer and use it in GitHub Desktop.
Copy heroku config variables from one app to an other
heroku config -s -a ${APP1} | grep -v -e 'HEROKU' | sed 's/=\(.*\)/="\1"/' | xargs heroku config:set -a ${APP2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment