ruby on rails - rolling back a deployment on heroku then uploading another version without roll forward? -


i rolled app on heroku v7 v4 (for example) previous version week ago. since v7 introduced errors, want upload new version. tried deploy new version on heroku got error

error: failed push refs 'git@heroku.com:boiling-bastion-xxxx.git' prevent losing history, non-fast-forward updates rejected merge remote changes (e.g. 'git pull') before pushing again.  see 'note fast-forwards' section of 'git push --help' details. 

since don't want v7 , want upload new version instead, still run git push? don't want roll forward latest version (v7) introduced errors.

you can use,

git push heroku master -f 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -