Question

I have a router (AVM Fritzbox) with a USB drive connected to it. I can access the drive via a network path from my computers. I only have access to the web interface of the router and the filesystem of the drive. No root or ssh access (I don't want it anyways because if I screw up anything I can't access internet or phone anymore).

Is it possible that this drive acts as a Git repository without Git being installed on the router itself so that I can access the repository from all computers that are connected to the router?

Was it helpful?

Solution

It depends on how your "network path" actually works (though it sounds like Samba, or some other zeroconf protocol).

Git can only operate with HTTP(S) and SSH protocols as transports, unless you configure one of those properly, you can't use git on your router as a remote.

Read http://git-scm.com/book/en/Git-Internals-Transfer-Protocols for more info. (Also, this question has sort-of been answered before Using Git with a Samba shared folder).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top