git rebase: “error: cannot stat 'file': Permission denied”

后端 未结 30 2457
野趣味
野趣味 2020-12-02 04:56

I\'m using git, and made a small commit followed by a large one. I decided to use git rebase to squash the two commits together before pushing them. (I\'ve ne

30条回答
  •  抹茶落季
    2020-12-02 05:21

    I just stumbled upon this thread of answers - this error is such a Bogus error.# error: cannot stat 'reddit/app/views/links': Permission denied

    That's all I got - when trying to merge. I read a few of the answers and then came to the realization - all I had to do was close my code editor which happens to be Atom.

    Once closing the editor - I ran "git merge" again and boom , it worked.

    What a pointless error:(

提交回复
热议问题