Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in DevOps and Agile by (19.4k points)
edited by

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

1 Answer

+1 vote
by (27.5k points)

Case 1:  

A. Type git init into your command line and press enter. 

B. Run your command again, you probably were running git remote add origin [your-repository].

Case 2: 

See if you are actually under a GitHub repo. Listing of .git/ should give you results. If you notice that you are some level outside your repo. All you need to do is 'cd' to your repo and you should be out of this issue.

Related questions

Browse Categories

...