search

Home  >  Q&A  >  body text

Permission denied is displayed when git merge code? How to solve it

1 When I merge the code, permission denied appears? What is the reason?

2. I tried rolling back the version but it still doesn’t work. How to solve it?

漂亮男人漂亮男人2803 days ago684

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-05-02 09:45:48

    It is recommended that you close all editors or IDEs before using the git merge command. These software may have locked a certain file from external modification.

    reply
    0
  • 阿神

    阿神2017-05-02 09:45:48

    You have no authority and cannot operate the master. You need to find an administrator to enable it

    reply
    0
  • PHP中文网

    PHP中文网2017-05-02 09:45:48

    sudo -s to obtain root permissions and then execute

    reply
    0
  • Cancelreply