Skip to content

git error: fatal: Invalid path '/storage/emulated': No such file or directory #3537

Closed Answered by sylirre
sudoexec asked this question in Q&A
Discussion options

You must be logged in to vote

What is the command you using for git clone? It looks like you are doing something wrong.

For example git clone https://github.com/termux/termux-app ~/storage/shared/termux-app works without issues:

Anyway, I would not recommend working with git repositories on shared storage. Just the file system on shared storage is quite restricted in features (it's an emulated layer for FAT32/exFAT compatibility) and git tends to have problems (object corruption, etc) when working with repositories here.

File managers and code editors are capable of accessing files on storage volumes and that means you can access your repository when it is placed in Termux home directory: https://wiki.termux.com/wiki…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sudoexec
Comment options

Answer selected by sylirre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants