Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Git] When pushing to protected branches, no error is shown #3809

Open
StanZGenchev opened this issue Apr 18, 2024 · 0 comments
Open

[Git] When pushing to protected branches, no error is shown #3809

StanZGenchev opened this issue Apr 18, 2024 · 0 comments

Comments

@StanZGenchev
Copy link
Contributor

Describe the bug
When you clone a repository which has a protected branch (main/master for example), make some changes and try to push them to the same branch, the Git perspective does not show an error. It behaves like the push was successful and you can lose your code because of this.

To Reproduce
Steps to reproduce the behavior:

  1. Clone a repo with a protected main branch
  2. Make a change
  3. Try to commit and push from the Git perspective
  4. Go to the repo page and see that your commit is not pushed

Expected behavior
If a branch is protected, you should see an error explaining the issue when you try to push any changes.

Desktop:

  • OS: All
  • Browser: All
  • Version: Dirigible 10.3.0
@StanZGenchev StanZGenchev added this to the 11.0.0 milestone Apr 18, 2024
@StanZGenchev StanZGenchev added this to To do in Backlog via automation Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Backlog
To do
Development

No branches or pull requests

1 participant