Our team is stupid and pushes all develop branches into master. Master reflects all environments, dev/qa/prod. We need to perform a hotfix in prod and not bring along all the other changes.
So I want to checkout the production sha, add some changes, and push to master and run it all the way up to production. Problem is I'm getting merge conflicts and I'm behind master.
git checkout <<sha>> -b update-prod
// add my changes
git add .
git commit
git push
Definitely missing a step but I feel like this is totally doable and I'm just not understanding how to do this from the documentation I'm finding.