Migrate Git to Unity Version Control

在您的工作室中,提交是否是冲突的来源?升级到完全为美术师和程序员优化的工作流程,并且能够开箱即用地处理大文件 – 无需附加组件。

See how Sycoforge moved from Bitbucket to Unity’s version control solution mid-project – and increased commits by 300%. 下载案例分析

Why Git users switch to Unity Version Control

Open source, free, and flexible, Git is a popular version control solution (VCS), but it can be daunting for the less technically savvy. 当美术师遇到问题时,他们需要程序员来帮助解决:它没有与美术师的工具集成,并且在游戏开发中常见的大型二进制文件的重压下崩溃。

《Return to Nangrim》重要的美术图稿

Sycoforge 开发的《Return to Nangrim》

How Git users benefit from Unity Version Control

Unity Version Control is built for game development. 这是您从 Git 升级后将获得的收益。

Plastic SCM 大文件
大型代码仓库和二进制文件的速度

Unity Version Control won’t break, even with repos in excess of 5 TB, and it handles updates and check-ins faster than other solutions.

在 Unity 引擎上与美术师合作
与美术师更好地合作

Artists can use Unity Version Control independently via Gluon, an easy-to-use workflow with file locking. 编码人员通过完全分支和合并来维护他们的标准工作流程。

DevOps
支持集中式和分布式工作方式

选择 VCS 通常意味着决定是集中式工作还是分布式工作。Unity Version Control has both: Get the speed and power of Git-style workflows with Perforce-like scalability.

Unity 编辑器内的维护
以更大的灵活性简化维护

Unity Version Control supports multiple workflows and large files out of the box, so you don’t need to maintain redundant systems or add-ons. 保持您的工具链精简和高性能。

主要特色

Unity 的 DevOps 解决方案为程序员提供了广泛的功能,同时为美术师简化了工作。列表中缺少了什么?请浏览我们的 DevOps 路线图

分析重构 Git 用户

节省时间并减少任务切换

Unity 的代码感知合并技术 SemanticMerge 跟踪移动过的代码,帮助您只关注所关切的更改。通过分析语法,可以自动执行 16-30% 的代码合并(通常需要手动合并),从而大大减少会分散您工作流程的合并冲突。

Unity Version Control will analyze a refactor and assess whether parts of the code, such as a method, have been moved, even across multiple files. 这可使您将审查重点放在最实质性的更改上。它支持 C#、Java、VB.NET 等。

Unity 与 Git 版本控制

Use Unity Version Control as a Git client

Unity Version Control’s GitSync provides bidirectional synchronization between Version Control and Git. Unity Version Control communicates with Git network protocols to push and pull packages and merges to a remote Git server (and the reverse). This allows you to use the Version Control GUI as a Git client: Because Unity Version Control is structured somewhat similarly to Git, you can exchange all changesets, branches, and merges between them.

了解更多详细信息
使用 Unity 快速导入导出

快速导入和导出

Unity Version Control implements fast-import and fast-export commands, all of which are totally compatible with their Git counterparts. These commands are used to import your project from Git to Unity Version Control, and as a way to safely move away from Version Control if you ever need to. 对于常规的日常操作,GitSync 是更简单的选择。

Plastic SCM DevOps 生命周期

利用 Git 生态系统

Any tool in Git’s ecosystem can connect to Unity Version Control instantly using their native Git functionalities. Teams using Version Control can then benefit from all the DevOps, CI, and project management integrations developed specifically for Git.

GitServer 对应于 GitSync 的服务器端。It closes the Git interoperability loop by allowing Unity Version Control to serve repositories using Git protocols (Git and HTTP supported).

了解更多详细信息

使之成为现实

《Goodbye Volcano High》

由工作者拥有的合作型工作室如何让美术师和工程师在制作过程中保持一致?Read how KO_OP powered collaboration with Plastic SCM (now Unity Version Control).

《Return to Nangrim》

了解 Sycoforge 如何利用 Unity 工具来管理不断扩大的项目作用域,并整合玩家反馈以实现快速、迭代的游戏开发。

《Subnautica》

Find out why Unknown Worlds chose Unity and Plastic SCM (now Unity Version Control) to help bring Subnautica to life.

为您的项目设置 Unity Version Control

想快速启动和运行?这些操作步骤可以帮助您在几分钟内为项目设置 Unity Version Control。

常见问题解答

Can you work distributed with Unity Version Control?

Unity Version Control is a DVCS too. 因此,您将使用相同的工作流程:您首先提交(签入),然后将您的更改推送到远程代码仓库。With Version Control, you can work centralized if you wish. SVN 风格,直接进行签入,无需中间克隆?可以这样做。

虽然编码人员会喜欢 DVCS,但美术师和设计师等其他角色可能会选择集中式。

 

可以创建功能分支并在分支之间切换吗?

是的。Everything in Unity Version Control can be done visually from the GUI. 您将使用 Branch Explorer(分支资源管理器)来处理与分支和合并相关的所有事情。

可以从远程代码仓库推送和拉取分支吗?

是的,您可以制作部分副本,这意味着您可以简单地拉出一个分支(无需带上所有父级)和合并源,并且能够添加更改和推回。

需要克隆代码仓库吗?

You don’t need to “clone” the full repo to start working on a replicated repo in Unity Version Control. 您可以简单地运行所谓的部分副本,这要快得多,然后在代码仓库上工作,进行新的更改,然后拉回。

这相当于一个有限深度但能够推回的浅克隆。

合并与 Git 相比如何?

Merging in Unity Version Control is even better. The merge engine in Version Control can deal with moves and renames that make Git break. Unity Version Control includes its own diff and merge tools, too.

How can Unity Version Control handle large files?

Unity Version Control can handle huge files – what fits in RAM is not the limit. Version Control is good with huge repos too.

Unity 的版本控制中有“Remote”吗?

“Remotes” don’t exist in Unity Version Control. 您只需将所需的分支推拉到相应的代码仓库 – 无需先定义 Remote。

Unity 的版本控制中有子模块吗?

Unity Version Control submodules are called Xlinks, and they’re a greatly enhanced and simplified version of submodules. 通过完整的 GUI 支持,创建 Xlinks 很简单,并且 Xlinks 不存在更新子模块的繁琐过程 – 它们能够手动管理引用。Xlinked 目录下的分支是自动创建的,在多代码仓库场景下管理特性分支非常简单。

Is Unity Version Control better than Git?

Git-based version control offers a wide array of features and community support, while Unity Version Control offers flexibility for different workflows and handles large files out of the box. 对一个组织最有效的方法可能不适用于另一个组织。有关评估最适合您的有用提示,请在此博客中阅读更多信息。

Is Unity Version Control based on Git?

Unity Version Control is not Git, though it allows for distributed version control (DVCS) like a Git-based system. Unity Version Control starts with all the strengths of Git, and then it adds support for large files, consistent GUIs, ACL-based permissions, handles huge repos, strong merging, partial replica, semantic diffing, and more.

我们使用 Cookie 来确保为您提供网站的最佳体验。有关更多信息,请访问我们的 Cookie 政策页面

明白了