BlogHow to Fix Git Push Error1 2 3 rm -rf .git/refs/remotes/origin mkdir .git/refs/remotes/orgin git gc --prune=now Referencegit push 遇到 error: cannot update the ref ‘refs/remotes/origin/master‘: Permission denied