Skip to content

How do you promote code to environments? #24972

Answered by pentago
pentago asked this question in Actions
Discussion options

You must be logged in to vote

Found (actually paid for) solution that does well:

from dev branch:

git stash
git checkout staging
git merge -s recursive -X theirs dev
git checkout stash -- .
git add .
git commit -m "Update"
git push origin staging

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant