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
I have branch protection enabled on my 'master' branch so that "No pushing will be allowed to this branch"
However, on my pull request it shows these command line instructions which technically are not valid as I have branch protection enabled. git push origin master wouldn't work.
I feel this is slightly inelegant. Is there a way to make it so that if branch protection is enabled, these command line instructions are not shown?
Or alternatively, create a setting that allows you to disable showing these command line instructions? I don't want it to confuse users - I've had a user ask why these instructions are showing when branch protection is enabled.
Thanks!
Screenshots
No response
The text was updated successfully, but these errors were encountered:
Gitea Version
1.15.3
Git Version
N/A
Operating System
N/A
How are you running Gitea?
Running on a Linux machine
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
https://try.gitea.io/my1e5_test_user/Test-Repo/pulls/1
I have branch protection enabled on my 'master' branch so that "No pushing will be allowed to this branch"
However, on my pull request it shows these command line instructions which technically are not valid as I have branch protection enabled.
git push origin master
wouldn't work.I feel this is slightly inelegant. Is there a way to make it so that if branch protection is enabled, these command line instructions are not shown?
Or alternatively, create a setting that allows you to disable showing these command line instructions? I don't want it to confuse users - I've had a user ask why these instructions are showing when branch protection is enabled.
Thanks!
Screenshots
No response
The text was updated successfully, but these errors were encountered: