First, push the content to dev env
using:
amplify push
After switching branch to prod
using git checkout prod
. You have to change the environment to prod
using amplify env checkout prod
. Then, if you want push your dev
changes to prod
, you have to do the following:
git merge dev
amplify push