We're using gitflow and feature branching for our source code strategy.
We recently had an issue in production where code committed to our develop branch ended up in production. This may have nothing to do with the question, but it was the starting point of our investigation.
We quickly noticed that our bitbucket repository has mysteriously changed main branch from master to develop... So now I'm wondering how this is possible ? Can it change without any admin intervention ? And if not, where can I find a history of settings modifications ?
I believe one cause of such behavior is automatic merging. Some one would have switched the production and development branch resulting in automatic merging of code from develop to master. It can also depend on the merge strategy you are using.
To answer you question , this change cannot happen without any admin intervention. You can actually see the Audit log under Repository settings -> Security -> Audit log. This section will show all the changes happened to your repository settings (usually recent 500).
Hope this helps.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.