Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9060

Closed
Open
Created Mar 31, 2015 by Administrator@rootOwner

! [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'

Assignee
Assign to
Time tracking