Created
March 11, 2019 17:44
-
-
Save savyounts/c6fa8c10f5c7e97801c7199d636cd86f to your computer and use it in GitHub Desktop.
Pushing from Local to Stage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Once your code is working in the local environment you can push it up to the stage environment to be sent to QA. To do this, | |
you first need to add the stage remote to the project | |
git remote add name_of_remote ubuntu@url:path_to_vhost | |
git remote add stage ubuntu@stage-integramed.com:/var/www/vhost/trellishealth.stage-integramed.com | |
You can check that your remote was added by using git remote -v | |
Once you have your remote, checkout the branch you want to push up and use this command to push it to that environment: | |
git push choice_remote HEAD:stage --force | |
git push stage HEAD:stage --force | |
After the code is pushed up to stage, check out the site to make sure all changes are still working correctly and then send | |
to Sandeep. On the Jira ticket, tag Sandeep and provide any information he may need along with a link to the stage environment. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment