Source Control
DevOpsSource control with UE5: Git with LFS, Perforce integration, OFPA, binary asset conflict resolution, and Blueprint diff/merge tools.
/skill source-control What This Skill Does
Source Control helps you set up and manage version control for UE5 projects. This skill covers the unique challenges of versioning game projects that contain large binary assets alongside text-based code, including Git with LFS configuration for tracking binary files, Perforce integration with exclusive file locking, the editor's built-in source control features for checking out and submitting assets, One File Per Actor (OFPA) to reduce level merge conflicts, branching strategies suited to game development, and techniques for resolving binary asset conflicts.
Covers
- Git workflow for UE5 projects including Git LFS for binary asset tracking
- Perforce (P4) integration with exclusive locking and typemap configuration
- Editor source control integration: check out, submit, revert, diff, and history
- .gitignore and .gitattributes configuration specific to UE5 projects
- One File Per Actor (OFPA) and its benefits for team-based level editing
- Binary asset conflict resolution strategies
- Branching strategies: trunk-based and GitFlow for game development
- Blueprint diff and merge tools for visual script comparison
Does Not Cover
- CI/CD pipeline configuration → Project Packaging (for build commands)
- Deployment automation → Server Deployment (future skill)
- Team management and access control → External VCS administration
How to Use
Invoke this skill in Claude Code:
/skill source-control This skill is also auto-detected when your prompt mentions source control, Git, Perforce, version control, checkout, commit, merge, or conflict intent. AgentUX will automatically activate Source Control when it recognizes relevant context in your request.
Key Unreal Engine Concepts
| Concept | Description |
|---|---|
Git LFS | Git Large File Storage, an extension that tracks binary files (.uasset, .umap) separately to prevent repository bloat. |
Perforce Typemap | A Perforce configuration that assigns file types and locking behavior, using the +l flag for exclusive checkout on binary assets. |
OFPA | One File Per Actor: a storage mode where each actor in a level is saved as a separate file, allowing multiple people to edit the same level concurrently. |
Blueprint Diff | A visual diff tool built into UE5 that shows node-level differences between Blueprint revisions. |
.gitattributes | A Git configuration file that specifies which file patterns should be tracked with LFS for binary asset management. |
ISourceControlProvider | The editor interface that provides source control operations for Git, Perforce, SVN, and Plastic SCM. |
Related Skills
project-packaging
Package builds for CI/CD pipelines integrated with source control
python-editor-scripting
Automate source control operations with Python scripts
level-streaming
World Partition and OFPA for concurrent level editing workflows
performance-profiling
Profile builds to catch performance regressions in your pipeline
What You'll Learn
- How to set up Git with LFS and proper .gitignore/.gitattributes for a UE5 project
- How to configure Perforce with exclusive locking for binary assets
- How to use the editor's built-in source control features for daily workflow
- How OFPA reduces merge conflicts for team-based level editing
- How to choose the right branching strategy for your team size
- How to resolve binary asset conflicts and prevent them with locking workflows