I have a repository with protection against my development, and I use the GitFlow branching model. There are two branches; develop (containing components currently under development) and master (last deployed production code).
My development branch prevents the direct creation of commits through secure branches of GitHub. When you locally complete a patch using GitFlow, it automatically merges the patch branch into your local wizard and develops the branches. However, pushing changes directly to the development branch is unacceptable, since this is a protected branch
How can you overcome this? Every time I create a patch, I must:
- Manually disable branch protection
- Click development branch
- Bring him back to
It is not automated and therefore not very acceptable.
source share