![]() ![]() It’s to make Git treat files with different capitalization as the same file. The most important Git config that all the team members has to set is: However, with the current 64-bit Unity editor, this issue no longer exists, and Force Text and Visible Meta Files have become default options in later versions. In the past, during the era of Unity 4.X, when the editor was 32-bit and could not address more than 4GB of memory, Force Text was sometimes disabled due to increased memory usage. With Force Text, Unity resources will be stored as YAML files that can be diffed, and Visible Meta Files allow GUID synchronization with other collaborators working on different machines. To perform version control on Unity’s internal AssetSerialization, it is considered a must to configure Unity Editor as Force Text and Visible Meta Files. Just keep in mind that self-hosting requires more IT expertise and backup considerations. However, these functionalities in GitLab can reference each other, such as referencing the progress of merge requests or specific CI pipeline results in issues, which has an invaluable advantage. Although the project management interface may not be as visually appealing or user-friendly as Trello or other tools. GitLab provides Git, CI Runner, project management, and code review functionalities. If possible, it’s recommended to set up a GitLab instance on a dedicated server or NAS. Using hosting services means Git operations have to go through the company’s external network, which may not be practical for projects with very large assets, especially considering if the Internet conditions might not be good. Riot’s “Legends of Runeterra” mentioned in their shared article that they use GitHub Enterprise with Artifactory as their LFS server. Most Git hosting cloud services have limitations on capacity or bandwidth for Git Large File Storage (LFS) ( GitHub’s LFS terms), which is not ideal for game projects. SmartGit has extensive features but lacks good support for artwork assets, and also has a relatively high annual fee. While GitKraken has many features for artwork-related tasks, it struggles with performance in large repositories due to being built on top of Electron. Another free option is TortoiseGit, which has good support for artwork assets, including displaying images within LFS, but may not be as convenient for more complex Git commands like Blame and Rebase. ![]() Some colleagues also opted for Git Extensions bundled with Git for Windows, but it’s less user-friendly for artists, and those who are accustomed to clients with a separate window GUI may not be comfortable with just the Shell Extension. As well as slowness when dealing with large files and lack of preview support for images and LFS files. ![]() Prior to that, we were using the most common free client, SourceTree, but encountered issues with login which happen way too often and require technical personnel to solve. Currently, we have chosen the paid version of Fork. Previously, in order to meet the needs of both technical and non-technical personnel for using Git, we conducted a survey of various Git clients. The company has released this configuration under the MIT License. The latest configuration now includes an updated. If you prefer a TL DR, you can directly download the Git configuration files. I would like to share some insights regarding the thought process behind these configuration files and the experiences of using Git. Recently, my company open-sourced our Unity builder mimiron-lite, along with a new set of Git configuration files that are now being used as Git configuration standard of my company. I’ve been using Git to version control Unity projects for a while now. Please leave a comment if something seems wrong/out-dated. This is the translated version of my 2020 Unity 和 git post with some minor updates and all the Chinese reference links removed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |