fatal: cannot create directory at /root/wp-content/cache/page_enhanced/ No such a file or directory

后端 未结 5 2040
执笔经年
执笔经年 2021-01-11 16:02

After some pulling changes from server.

I can not any more push anything no matter if I try these:

  • git push or
5条回答
  •  轮回少年
    2021-01-11 16:34

    I recently has this problem,
    and tried running all sorts of commands within git bash on windows 10.
    But none work, and here's what I tried to resolve this.

    • Restart the machine, simple!
      Sometimes the background processes are so many, or intensive that you can no longer stop them.

    • After restart, launch the cmd or cli to run as administrator

    • Run git checkout -f
      All the changes, if unwanted, will be abandoned in this process.

    • Once in a new branch, you can then git branch -D since you want to drop it.

提交回复
热议问题