Reputation: 1293
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
I tried this solution and this solution but the problem is still there.
Help me please.
Upvotes: 8
Views: 6002
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