You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Clone a repo with a protected main branch
Make a change
Try to commit and push from the Git perspective
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
The text was updated successfully, but these errors were encountered:
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:
Expected behavior
If a branch is protected, you should see an error explaining the issue when you try to push any changes.
Desktop:
The text was updated successfully, but these errors were encountered: