美文网首页Git
Git rebase "unable to creat

Git rebase "unable to creat

作者: JaedenKil | 来源:发表于2019-05-22 15:29 被阅读0次

    In a regular operation, git rebase master gave an error:

    error: unable to create file xxx: Permission denied
    

    Google a bit, found some possible reasons:

    • More than one git bash instances(all points to the current project) are available, maybe even you opened a git bash in the IDE.
    • Some of the files in the project are being edited, say 'Notepad++', while git rebase is trying to edit the file at the same time.
    • Simply the IDE is preventing the changes.
      In my case, close the IDE Visual Studio Code, git rebase will work fine.

    相关文章

      网友评论

        本文标题:Git rebase "unable to creat

        本文链接:https://www.haomeiwen.com/subject/dwluzqtx.html