title: Git push with wrong user and pre-receive hook declined
body: <p>I found it is different from what others met. I have two problems:</p>
  
  <ol>
  <li>Git push with the user named 'v3' (this user is not mine). The command:</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/PzWp9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PzWp9.png" alt="screenshot of mingw64 console"></a></p>
  
  <p>but Git push with the user named 'v3'.</p>
  
  <ol start="2">
  <li>After I removed the 'push' right of user 'v3', it told me 'pre-receive hook declined' when I ran <code>git push</code></li>
  </ol>
  
  <p>Error message:</p>
  
  <pre><code>Total 9 (delta 4), reused 0 (delta 0)
  remote: GitLab: You don't have permission        
  error: failed to push some refs to 'http://gitlab.zank.mobi/zank/zank_live_service.git'
  To http://gitlab.zank.mobi/zank/zank_live_service.git
  !   refs/heads/develop:refs/heads/develop   [remote rejected] (pre-receive hook declined)
  </code></pre>