Skip to main content

Nuke staging

Common flow to successfully nuke staging is:

  1. Ask in engineering channel can you nuke it right now, because qa will not have ability to test new staging features while you are in progress of nuking.
  2. Then follow next git commands:
  • git checkout master //checkout to master
  • git pull origin master // get latest master
  • git branch -D staging //delete staging branch from local machine
  • git checkout -b staging // checkout to staging
  • git push origin staging -f // force push master to staging
  1. Push all disappeared prioritized and asked branches to staging
  • git pull origin branch-name // pull other branches
  • git push origin staging // push updates to staging