user755 user755 - 1 month ago 24
Git Question

GIT_DISCOVERY_ACROSS_FILESYSTEM not set

I have searched and read few post but my problem is not the same as descirbed. So here's the issue: using git clone into folder under external partition of the disk works fine but all git commands fails. can't execute git status or git log... I always get error


fatal: Not a git repository (or any parent up to mount parent /home/kozi)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).


Please help me out..


.

├── abi

├── bionic

├── bootable

├── build

├── cts

├── dalvik

├── development

├── device

├── docs

├── external

├── frameworks

├── gdk

├── hardware

├── libcore

├── libnativehelper

├── ndk

├── packages

├── pdk

├── prebuilts

├── .repo

├── sdk

├── system

└── tools

Answer

Just type git init into your command line and press enter. Then run your command again, you probably were running git remote add origin [your-repository].

That should work, if it doesn't, just let me know.

Comments