문제

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?

도움이 되었습니까?

해결책

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top