Guest User

Untitled

a guest
May 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. switch your local environment to staging (your changes will not be lost) - git checkout staging
  2.  
  3. ad 1. git pull --rebase
  4. ad 2. if you did the switch, you are already switched to staging - git checkout staging
  5. ad 3. Commit your work and push to staging -
  6. git commint -m "Nice commit description"
  7. git push - this will deploy it to staging website
  8.  
  9. than test on staging. To deploy to live:
  10. git checkout master
  11. git pull --rebase
  12. git merge staging
  13. git push
Add Comment
Please, Sign In to add comment