Why am I getting the message, “fatal: This operation must be run in a work tree?”

前端 未结 15 892
野趣味
野趣味 2020-11-27 12:33

Just installed git on Windows. I set the GIT_DIR variable to be c:\\git\\ and verified that this environment variable is maintained by cygwin (i.e. echo $GIT_DIR is what it

15条回答
  •  执笔经年
    2020-11-27 13:08

    In addition, apparently, this error will happen if you clone into NTFS Ram Drive.

提交回复
热议问题