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
  • #7968

Closed
Open
Created Oct 05, 2014 by Administrator@rootOwner

Must delete "Hooks" to push origin master

Created by: mr-infinity

When i create new project i add a remote origin ( must enter the full path to the repo, strange ) git remote add origin [email protected]:/home/git/repositories/user1/test.git Then the Gitlab worker creates /home/git/repositories/user1/test.git i am forced to delete /home/git/repositories/user1/test.git/hooks in order to push. This is what i get:

Counting objects: 2240, done. Delta compression using up to 2 threads. Compressing objects: 100% (2198/2198), done. Writing objects: 100% (2240/2240), 5.64 MiB | 4.51 MiB/s, done. Total 2240 (delta 251), reused 0 (delta 0) remote: GitLab: You are not allowed to access master! remote: error: hook declined to update refs/heads/master To [email protected]:/home/git/repositories/user1/test.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to '[email protected]:/home/git/repositories/user1/test.git'

Assignee
Assign to
Time tracking