gitlab Push Rejected by remote

Viewed 4531

I'm trying to update my Android Project and my J2EE project on gitlab but I get this error when I try to push:

Push rejected: Push new_branch to origin/new_branch was rejected by remote

enter image description here I tried this solution and this solution but the problem is still there.

Help me please.

1 Answers

Make sure you have permissions on that repository. Also make sure the branch you're trying to push isn't protected in the reporitory settings.

Related