开发者

Synchronizing DVCS repositories across multiple machines

What's the best way to keep a DVCS repository synchronized across multiple machines? I'm a solo developer interested in being able to easily move between my work desktop, home desktop and a (Mac) laptop. At the moment I use Dropbox to keep files in sync, but I'd like to be able to use some source control specific features. Is there an easy way to do this peer to peer without relying on a centralized reposi开发者_Go百科tory? Is there any particular DVCS that's better suited to this kind of workflow?

Dupe notes: Inspired by How can a mobile student effectively use Dropbox with a source control system?, but I'm interested in a DVCS, not Subversion. Similar to Synchronizing Git repos across machines without push, but I'm not necessarily looking for a Git specific answer.


Obvious answer: you need to use some central storage, available from all your computers. Push to central storage, then pull when needed.


You can use bitbucket or github . Use the cheapest paid account with small fee to get private repositories. Even bitbucket provide 1 private repo for the free account if your budget really tight :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜