When macbook git push prompts you that you do not have enough permissions, you still report an error after giving the permissions?

  git, question

Using a sourcetree clone item on macbook, git can push to indicate that the permissions are not enough, the local folder still reports an error after giving the permissions, and the ip has been replaced by xxx

git push origin master
 Counting objects: 11, done.
 Delta compression using up to 4 threads.
 Compressing objects: 100% (11/11), done.
 Writing objects: 100% (11/11), 968 bytes | 0 bytes/s, done.
 Total 11 (delta 10), reused 0 (delta 0)
 error: insufficient permission for adding an object to repository database ./objects
 
 fatal: failed to write object
 error: remote unpack failed: unpack-objects abnormal exit
 To xxx.xxx.xxx.xxx:/home/git/manhua.git
 !  [remote rejected] master -> master (n/a (unpacker error))
 error: failed to push some refs to 'tyki@xxx.xxx.xxx.xxx:/home/git/manhua.git'

remote rejectedRemote rejection.

  1. Check whether the current push git account setting is in project’s member group.
  2. Check whether the configuration in the git server has push permission, or if the current branch is protected, if sogitlab, onlymasterLevel has push permission, project->setting->members view level.