Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation on where the cloned repos are located #626

Open
hello-stark opened this issue Apr 12, 2022 · 1 comment
Open

Improve documentation on where the cloned repos are located #626

hello-stark opened this issue Apr 12, 2022 · 1 comment

Comments

@hello-stark
Copy link

Is your feature request related to a problem? Please describe.
The local files when downloaded are hidden from the files in android, especially when the search functionality of android is so bad, the repo i cloned were for the usage in another app, so viewing files inside the MGit app is pretty much useless.

Describe the solution you'd like
I really would like t see a "view in file system" option or
just a plain "show file location" inside the app so that we can open the files in the necessary software

Describe alternatives you've considered
One other possibility (as a developer which i know is neither easy nor that useful) is to allow direct integration like
"open with
-gallery
-google photos
etc"

ie basically allow direct openings in proper apps. but this will be annoying if you are, as in my case, download markdown files to be used in obsidian app in multiple devices

Additional context
Context:
Basically, I use obsidian a lot for note taking, and I have a private repository where i commit the files which can be used between multiple devices, but sso fat, i was using 2 computers, so i would use normal git cli, recently i started using obsidian on phone, and needed a proper app for committing and pulling files across devices via git, and MGit is superb for the job, but one issue i am facing is, there is no way (in what i researched and experimented) to find the location where the cloned repo is stored so that can be opened in the obsidian app. The local path option while cloning the repo didnt seem to do anything.

Thanks in advance

@maks
Copy link
Owner

maks commented Apr 19, 2022

Thank you for opening this issue.
You can set the folder that is used by MGit for all local repos it manages by changing the Root storage location for repos in MGits Settings screen, eg. to /storage/emulated/0/Documents.

Installing Obsidian on Android 12, I see it requests the "All File Permission" so it should then be able to access any files in a repo you place in the Documents folder for example. However a problem you may run into if you use Android 11 or newer, is that MGit has not yet been granted use of that same permission by Google Play so it may not be able to access edited files itself, see #620 for more details on that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants