GIT_DISCOVERY_ACROSS_FILESYSTEM problem when working with terminal and MacFusion

前端 未结 6 2177
萌比男神i
萌比男神i 2021-01-31 14:53

I\'m using MacFusion with OSXFuse(similar to MacFuse) to mount my server over SSH onto my office machine. When I cd into my rails work directory on the server, i can\'t see any

6条回答
  •  甜味超标
    2021-01-31 15:41

    Coming here from first Google hit:

    You can turn off the behavior AND and warning by exporting GIT_DISCOVERY_ACROSS_FILESYSTEM=1.

    On heroku, if you heroku config:set GIT_DISCOVERY_ACROSS_FILESYSTEM=1 the warning will go away.

    It's probably because you are building a gem from source and the gemspec shells out to git, like many do today. So, you'll still get the warning fatal: Not a git repository (or any of the parent directories): .git but addressing that is for another day :)

    My answer is a duplicate of: - comment GIT_DISCOVERY_ACROSS_FILESYSTEM problem when working with terminal and MacFusion

提交回复
热议问题