Hello all, I am new to this forum and just wanted to get feedback on my thoughts…
I have a master branch and an integration branch. Obviously master is my default branch. Integration is used to push new features to, test, and validate everything. Once a few criteria is met, a PR is initiated to go from integration to master. However, recently I have run into an issue. Integration and master are identical, word for word, bit for bit, but when I look on github, it shows that integration is 20 commits behind master and 95 commit ahead of master. I believe that this is because when merging from integration to master the commits were squashed. (The 20 commits behind are things that were put directly into master because they were needed beforehand). There are two options I could think of here but not sure which is the most optimal.
Revert the last squashed commit into master and perform a PR on the 94 commits from integration to master. A git pull will need to be done to resolve the 20 commits behind master but that is not a big deal.
Delete integration and create another branch tracking master and call it integration. I do not want to mess other developers up who are tracking integration though.