feat(editor): git integration for collaborative expansion development

- File > Project > Git submenu: Init, Commit, Push, Pull operations
- Init Git Repo: initializes git in the project directory with initial commit
- Commit Changes: auto-saves zone then commits all changes
- Push/Pull: sync with remote repositories for team collaboration
- Git Status: shows current repo state directly in the menu
- Teams can collaborate on custom expansions using standard git workflows
This commit is contained in:
Kelsi 2026-05-05 09:45:00 -07:00
parent 6f35081013
commit 94e6d5276e
3 changed files with 64 additions and 0 deletions

View file

@ -26,6 +26,13 @@ struct EditorProject {
bool save(const std::string& path) const;
bool load(const std::string& path);
std::string getZoneOutputDir(int zoneIdx) const;
// Git integration for collaborative expansion development
bool initGitRepo() const;
bool gitCommit(const std::string& message) const;
bool gitPush() const;
bool gitPull() const;
std::string gitStatus() const;
};
} // namespace editor