getEditorBranches and getCurEditorBranch allow to get information about current editor branch. For example, a user can check the current branch of Editor and the current git branch by name to prevent unexpected overwriting content in Editor just because a user forget to switch branches in Playcanvas Editor and Git.
Side note: I'm prioritising this ticket for the team to help more of the syncing between local version control and playcanvas version control https://github.com/playcanvas/editor/issues/498
Add ability to get a list of all branches.
getEditorBranches
andgetCurEditorBranch
allow to get information about current editor branch. For example, a user can check the current branch of Editor and the current git branch by name to prevent unexpected overwriting content in Editor just because a user forget to switch branches in Playcanvas Editor and Git.Here is a link to REST API