! [remote rejected] master -> master (pre-receive hook declined)
Created by: thelordsaves
my gitlab version is 7.6.2 I created a new repo and pushed the latest code to it, then I changed the URL of the repo, for example: from [email protected]:AAA-dev/icer2.git to [email protected]:BBB-dev/icer2.git and then I used " git remote set-url " command to change my remote setting, and everything is ok, but this time , when I push my modification to the repo, there is an error:
Counting objects: 40, done. Delta compression using up to 4 threads. Compressing objects: 100% (16/16), done. Writing objects: 100% (26/26), 1.89 KiB | 0 bytes/s, done. Total 26 (delta 8), reused 0 (delta 0) remote: GitLab: You don't have permission To [email protected]:mexdia-dev/icer2.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to '[email protected]:mexdia-dev/icer2.git'