简体   繁体   English

Mac OS X 上的 TFS

[英]TFS on mac OS X

I'm front-end developer and I'm using Sublime on MAC OS El Capitan as my development tool.我是前端开发人员,我在 MAC OS El Capitan 上使用 Sublime 作为我的开发工具。 I'm changing my job and the new company has a TFS source control.我正在换工作,新公司有一个 TFS 源代码控制。 I used TFS on Windows before but lately I was mainly on git.我之前在 Windows 上使用过 TFS,但最近我主要在 git 上。 I hope to find the best way to use TFS on MAC.我希望找到在 MAC 上使用 TFS 的最佳方法。

So far I discovered several options:到目前为止,我发现了几个选项:

  1. GIT-TF - this seems like a very popular solution in 2012, regretfully all tutorials are for MAC OS Lion and I'm not sure if this is still the right way. GIT-TF - 这在 2012 年似乎是一个非常流行的解决方案,遗憾的是所有教程都是针对 MAC OS Lion 的,我不确定这是否仍然是正确的方法。

  2. I read that you can enable GIT support in TFC project but as I'm not TFS administrator I'm not sure If this means to recreate the project or it's just an option that our admins can activate.我读到您可以在 TFC 项目中启用 GIT 支持,但由于我不是 TFS 管理员,我不确定这是否意味着重新创建项目,或者这只是我们的管理员可以激活的一个选项。

  3. There is Sublime TFS plugin, have anyone tried it.有 Sublime TFS 插件,有没有人试过。

  4. Perhaps there is more options but I can't figure out which one is the most appropriate for my case也许有更多选择,但我不知道哪一个最适合我的情况

It looks like you're trying to get a better understanding of TFS.看起来您正试图更好地了解 TFS。 To asses TFS, the easiest thing to do it to create a free account for Visual Studio Team Services .要评估 TFS,最简单的方法是为Visual Studio Team Services创建一个免费帐户。

The account is free for up to 5 people and you can create multiple repositories, using both Git or Team Foundation Version Control (TFVC).该帐户最多可供 5 人免费使用,您可以使用 Git 或 Team Foundation 版本控制 (TFVC) 创建多个存储库。 Since the service is hosted for you, it doesn't matter which operating system you use, you just access a website.由于该服务是为您托管的,因此您使用哪种操作系统并不重要,您只需访问一个网站。

To push code from MacOs, consider using VS Code, a multi-platform code editor.要从 MacO 推送代码,请考虑使用 VS Code,一个多平台代码编辑器。 Many non Microsoft programmer IDEs have extensions for TFS, for example Eclipse.许多非 Microsoft 程序员 IDE 具有 TFS 扩展,例如 Eclipse。 Any tool that interacts with Git can be used, and also the command line.可以使用任何与 Git 交互的工具,也可以使用命令行。

Note that TFS and Team Foundation Services are one and the same thing - one is offered on premise and one is hosted for you in the cloud.请注意,TFS 和 Team Foundation Services 是一回事 - 一种在内部提供,一种在云中为您托管。

  1. Should still work.应该还是可以的。

  2. No need to recreate the project but need to use at least TFS 2015 (surely the update 1) to be able to create git repository in the same project than an existing TFVC repository.无需重新创建项目,但至少需要使用 TFS 2015(肯定是更新 1)才能在与现有 TFVC 存储库相同的项目中创建 git 存储库。 But source code won't be shared.但不会共享源代码。

With so heavily bound to Windows systems on MAC I would go for Parallels.与 MAC 上的 Windows 系统如此紧密地绑定在一起,我会选择 Parallels。 It's a virtual machine on which you can install Windows and have TFS.它是一个虚拟机,您可以在其上安装 Windows 并拥有 TFS。 It's very sweet that you already have shared folders setuped.很高兴您已经设置了共享文件夹。 All check in/check out would be from there.所有入住/退房都将从那里进行。 You even can run the project from there, serving it on localhost and navigate it from MAC.您甚至可以从那里运行项目,在本地主机上提供服务并从 MAC 导航它。 And this is not everything.而这还不是全部。 It has a coherence mode (I hope i wrote it right) which makes all windows windows to look like mac windows.它有一个连贯模式(我希望我写对了),它使所有 Windows 窗口看起来都像 mac 窗口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM