Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gitlab Push Rejected by remote

Tags:

push

gitlab

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.

like image 910
slama007 Avatar asked Sep 29 '17 09:09

slama007


Video Answer


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.

like image 108
Squirrelkiller Avatar answered Sep 30 '22 14:09

Squirrelkiller