如何使用bazaar访问2台电脑上的同一个文件夹
大家好,我经常使用两台计算机,一台装有 ubuntu 10.10 的笔记本电脑和一台装有 Windows 7 的电脑。我希望能够从两台电脑访问文件夹。那么编程就不会那么烦人了。有人告诉我集市是做到这一点的最佳方式。
hey guys, i use two computers frequently, a laptop with ubuntu 10.10 and a pc with windows 7. i want to be able to access the folders from both pc's. then programming will be less annoying. someone told me bazaar was the best way to do this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您希望在两台计算机上编程“不那么烦人”,您可能正在寻找某种版本控制系统。 Bazaar (
bzr
) 就是这样一种系统,Subversion (svn
)、Mercurial (hg
) 和 Git (git< /代码>)。
所有这些系统都将使您可以轻松地在一台计算机上记录更改并在另一台计算机上应用它们(即播放它们)。它们还允许您查看所做的每项更改的历史记录,这很好。
我个人偏好是 git,但我不知道 Windows 上 git 支持的状态如何。既然如此,我建议您研究 Mercurial,因为我确信它在您提到的两个平台上运行良好。查看 BitBucket 免费的 Mercurial 源代码托管,您甚至无需设置服务器即可使用!
顺便说一下,我提到的所有 VCS 都有很好的免费源代码托管:
If you're looking to make programming on two computers "less annoying," you probably are looking for some version control system. Bazaar (
bzr
) is one such system, as are Subversion (svn
), Mercurial (hg
), and Git (git
).All of these systems will make it easy for you to record your changes on one computer and apply them (ie, play them back) on the other computer. They'll also allow you to see a history of every change you make, which is nice.
My personal preference is
git
, but I have no idea what the state ofgit
support on Windows is. That being the case, I'd recommend that you look into Mercurial, because I know for sure that it works well on the two platforms you mentioned. Check out BitBucket for free Mercurial source code hosting, and you won't even have to deal with setting up a server to use!By the way, there is good, free source code hosting for all of the VCSes I have mentioned:
Bazaar 是一个
版本控制系统
,虽然它可以做你想做的事情,但对于你的目的来说可能有点过分了。您似乎正在寻找的是文件共享解决方案,例如
dropbox
、实时网格
,spideroak
等,它可以让您在计算机之间同步文件。Bazaar is a
versioning control system
, although it can do what you want it's probably overkill for your purpose.What you seem to be looking for is a filesharing solution such as
dropbox
,live mesh
,spideroak
etc., which lets you sync files between computers.实现目标的最简单方法可能是使用 DropBox。然后,您可以根据需要在共享文件夹上运行版本控制系统。
The easiest way to accomplish your goal is probably to use DropBox. You may then run a version control system over your shared folder is you wish.