Open fera765 opened 5 years ago
Does doing the same git clone
within the rootfs, like at /home/username, work?
when doing git clone inside "/home/username", it works yes..
But I can not access this directory with es file explorer, since I do not have root permission on my Android.
now with the termux I can give git clone inside the sdcard and not of the error none
I am guessing this is a proot issue. We will have to debug.
This is still an issue for me
I have the same problem with git clone
in any root directory of the phone (I don't have root access on Android). A working strategy for me is to clone the repository into /home/username
and then move it to /Downloads: mv -r rep/ /mnt/sdcard/Downloads/rep/
(surprisingly, this works for me). Then I can see and use this repository in Android applications (file manager, etc.), while being able to work with git
for this repository (jast copy it back to /home/username
).
lord@localhost:/storage$ git clone https://github.com/adonisjs/adonis-fullstack-app.git Cloning into 'adonis-fullstack-app'... remote: Enumerating objects: 323, done. remote: Total 323 (delta 0), reused 0 (delta 0), pack-reused 323 Receiving objects: 100% (323/323), 203.97 KiB | 722.00 KiB/s, done. Resolving deltas: 100% (158/158), done. error: unable to write sha1 filename /storage/adonis-fullstack-app/.git/objects/pack/pack-74b4d7c222e00df89a8e4401d22b83c2f10051af.pack: No such file or directory fatal: cannot store pack file fatal: index-pack failed