I’m a Javascript developer and I’m working on a online JS editor with Google Drive integration showing your Drive files in a side bar. As many JS developers uses Github as repository I would love to allow commits, pull and push from the sidebar.
The problem is those files are stored on Google Drive so I should have to execute the “git commit”, “git pull”, etc… in the Drive folder. Does anybody knows if it’s possible?
I’ve googled a lot but everything I found is about use Drive as storage for a git bare repository. I want to keep Github as central repo, I just want to have a clone in my Drive account.
Any ideas?
Now that I understand the question…
I think you need a file system driver that talks to the Google Drive API. That would let Git talk to the Google Drive API like it talks to every other filesystem without having to load all of the Google Drive files, code, etc.