Our team works on a legacy application and is relatively small and new to using GIT repositories to control our source code. We don't have a Git Master, and we really don't have any way of keeping our changes organized.
As a result, we've pushed some changes to our Master branch after making a successful release - only to find that release now needs a hot fix.
We don't want to push the changes we're working on for the next release - so ideally we want to:
- Have one person pull the last commit (with a tag for our release) from GOGs
- Make the change in the code to fix the bug in production
- Push the change out and create a tag so our release team can deploy it
- Merge that change onto our Master branch, so that our work for the next release isn't lost but the change for the fix is applied
This is our first time trying to make a live fix to the code - I've seen some suggestions but most of them involve basing it off of a developer branch that hasn't already been pushed. What can we do, as a group that has already pushed changes out to Master and want to apply a fix to an old push?