Skip to content

In basic mode, prohibit commits to default merge branch #484

Closed
@isc-pbarton

Description

@isc-pbarton

If we are in basic mode and have a default merge branch configured (call it "development"), there should never be commits from git-source-control directly into development. A couple of scenarios where this could happen and lead to issues:

  • I switched back to the development branch after finishing a feature and started working on a new feature but forgot to create a new feature branch
  • I tried to create a new feature branch but it failed for some reason. I assume I'm on the new branch because I didn't check source control output, but I'm actually on development.

If the current branch is development, the sync option should not add, commit, or push. It should just pull.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions