Is it possible to host a bare Git repository using Dropbox, to share code?

后端 未结 8 950
借酒劲吻你
借酒劲吻你 2020-11-27 16:56

I realize that there are similar questions, but my question is slightly different: I\'m wondering whether sharing a bare repository via a synchronized Dropbox folde

8条回答
  •  天涯浪人
    2020-11-27 17:52

    I used to do this with MobileMe, but the computers kept getting out of sync. Each computer would have a repo that was different than the one in the cloud and since there's no concept of "merge" in MobileMe (and I assume, DropBox, too, right?) I'd end up just having to either pick a version to keep and lose some edits, or copy the edits out and re-apply them. Life has gotten a whole lot easier since I switched to a central Git repo.

    If it's working for you so far, good. I imagine you're going to have a lot of pain if two devs push to their local bare repos at the same time, though. How's DropBox going to know which is right?

提交回复
热议问题