Repository navigation
Git Rebase Conflicts
Audience: Programmers | Mixed
Thread Context: N/A (development/process reference)
Platform/Backend Scope: All platforms (git + bash doc scripts)
Rebase-time conflicts in this repo cluster around a handful of predictable file types. This page documents the default resolution for each. The default upstream branch is Working (not main).
Wiki pages contain auto-generated blocks delimited by markers:
<!-- AUTO:stats -->
...live content produced by docs/sync-wiki.sh...
<!-- /AUTO:stats -->
When two branches edit these sections independently, git sees a conflict. Always take the upstream side — the local change will be rewritten by the next docs/sync-wiki.sh sync run, so there is nothing to preserve.
# From the conflict state
git checkout --theirs wiki/subsystems/Entity-Component-System.md
git add wiki/subsystems/Entity-Component-System.md
git rebase --continue
# Then regenerate to get the correct counts for HEAD
docs/sync-wiki.sh sync
git add -u && git commit --amend --no-editThese files have hardcoded counts (test cases, panels, components). Like wiki AUTO: sections, they are written by scripts:
-
docs/update-readme-badges.sh→ README.md -
docs/update-context.sh→ CLAUDE.md
Resolution is identical: take upstream, then regenerate with docs/update-all-docs.sh.
Always resolve manually. Do not use --theirs / --ours blindly on .h, .cpp, or CMakeLists.txt files — a wrong pick silently drops functionality.
This tree is gitignored, so you should never see a conflict here. If you do, something upstream committed docs/api/ by mistake — report it and delete the tracked files.
Before starting, confirm how much you are about to pull in:
git fetch origin Working
git log --oneline HEAD..origin/Working | wc -lSee Build Optimizations for the branch-delta thresholds that tell you whether to expect conflicts.
# Re-run doc generation so every AUTO: section matches the rebased HEAD
docs/update-all-docs.sh
# If anything changed, amend the rebase tip rather than adding a new commit
git diff --quiet || git commit -am "docs: regen after rebase"- Original entry:
Git Rebase Conflict Resolution, last updated 2026-04-17. - Verified against codebase 2026-06-08.
- Updated / found stale:
- Confirmed
docs/sync-wiki.sh,docs/update-all-docs.sh,docs/update-readme-badges.sh, anddocs/update-context.shall still exist with the documented roles — no command changes needed. - Added a leading note that the default upstream branch is
Working. - Retargeted cross-references to the migrated wiki pages (was
build-optimizations.md/workflow-patterns.md).
- Confirmed
- Build Optimizations — pre-rebase branch-delta check
- Workflow Patterns — the full rebase → verify → push flow
- GitHub API and PR Checks
- Project conventions (CLAUDE.md) — "Git Sync Workflow" section
Published from 2b03dc797148. Edit the canonical source in wiki/.
- Documentation
- Docs route
- Wiki index
- Guides
- Tutorials
- Samples
- Examples
- API Reference
- API route
- Reference
- Build Guide
- Dependencies
- FAQ
- Changelog
- Roadmap
- Contributing
- Code of Conduct
- Home
- FAQ
- Getting Started
- Quick-Start Tutorial
- Making Your First Game
- Making Your First Multiplayer Game
- Artist Workflow Guide
- Editor Walkthrough
- Migration Guide
- How SparkEngine Works
- Architecture Overview
- Engine Architecture Flowchart
- Creating a Game Module
- Game Modules (catalog)
- Entity Component System
- Rendering and Graphics
- Physics
- Cloth Simulation
- Audio
- Input System
- Camera System
- Scripting with AngelScript
- Visual Scripting
- AI and Navigation
- Animation
- 2D Systems
- Networking
- Dedicated Server
- Multiplayer Quick Start
- Area Server Architecture
- Scene Management
- Large World Support
- Collaborative Editing
- Coroutine System
- Event System
- Event Response System
- Job System
- UI System
- UI Layout Extensions
- Localization
- Dialogue System
- Destruction System
- Replay System
- Achievement System
- Loading System
- Mod System
- Content Delivery
- Tween System
- Memory Integrity
- Gameplay Systems
- Terrain and Procedural Generation
- Save System
- Persistence System
- Day Night Cycle and Weather
- Cinematic Sequencer
- Runtime Prefabs
- SparkEditor
- Editor Tutorials
- SparkConsole
- SparkDaemon
- Shader Pipeline
- Asset Pipeline
- Asset Validation
- Asset Migration
- Game Packaging
- Online Services
- DataTable System
- Loot and Crafting System
- CSG System
- Font System
- Timer Manager
- Movie Render Pipeline
- HLOD and World Partition
- Remote Debug System
- Selection Manager
- Asset Dependency Graph
- Editor Automation
- File Watcher
- Project Templates
- System Requirements
- VR Support
- Mobile Platform
- Accessibility
- Platform Input
- Platform Certification
- Cross-Compilation: Wine Testing
- RHI Abstraction Layer
- D3D11 Backend
- D3D12 Backend
- Vulkan Backend
- OpenGL Backend
- Metal Backend
- DXR Raytracing
- Hybrid Ray Tracing
- Upscaling (DLSS/FSR)
- Render Graph
- Shader Graph
- GPU Particles
- GPU-Driven Rendering
- Volumetric Fog
- Volumetric Clouds
- Global Illumination
- Virtual Texturing
- Water Rendering
- Clustered Lighting
- Material System
- Post-Processing
- Shadow System
- Particle System
- Decal System
- Sky and Atmosphere
- Foliage System
- Mesh Shaders
- Neural Rendering
- Configuration Reference
- Performance Tips
- Benchmark Framework
- Threading Model
- Fuzz Policy and Parser Security
- Memory Safety
- Memory Management Patterns
- Build System and CMake Modules
- Profiler and Debugging
- Performance Profiling Guide
- Telemetry System
- Crash Reporting
- Golden Image Testing
- Utilities
- Testing
- Fuzz Policy and Parser Security
- Codebase Statistics
- Codebase Health
- Error Handling Patterns
- Hot Reload Overview
- Troubleshooting
- Contributing
- Workflow Patterns
- Build Optimizations
- CI Reproducible Builds
- GitHub API and PR Checks
- Git Rebase Conflicts
- Clang-Format
- Code Quality Violations
- AI Bloat Pattern
- MinGW + Wine Cross-Compilation
- Live Editor Testing
- Engine & Renderer Landscape
- DuetOS Portability Catalog
- Five-Engine Analysis
- Eleven-Engine Analysis
- ThorVG / Unity Graphics Analysis
- Advanced Techniques Catalog
- Third-Party Library Evaluation
- Engine Viability Evaluation
- Engine Feature Recommendations
- Project Recommendations
- Mac Compatibility Analysis
- Codebase Observations
- Codebase Bloat Audit
- Test Suite Audit
- Documentation Coverage Audit
- ThirdParty Dependencies Audit
- Load Test Baseline
- Gameplay Systems Status
- SparkGame Module Status
- Stub and Abandoned Features
- Memory Integrity System
- Memory Safety Evaluation
- Hardware Acceleration Systems
- Jolt Physics Integration
- GPU/CPU Separation Plan
- Daemon Services Architecture
- Reflection & Polymorphism Refactoring Plan
- SparkBuild In-Tree
- Wine No-JobSystem Breakthrough
- Wine Role and Fallback Tiers