slama007
slama007

Reputation: 1293

gitlab Push Rejected by remote

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.

Upvotes: 8

Views: 6002

Answers (1)

Squirrelkiller
Squirrelkiller

Reputation: 2814

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.

Upvotes: 1

Related Questions