mastodon-sc / mastodon-git

A plugin for Mastodon that allows to collaborate on a project via Git.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Error in case of a protected master branch #24

Open maarzt opened 3 weeks ago

maarzt commented 3 weeks ago

When a user shares a mastodon project via gitlab, the master branch is protected by default. This will cause an exception whenever a user tries to push to the master branch:

image

The error message should be improved. Giving the user a hint that the protected master branch might cause the error and how to fix the problem.