playcanvas / playcanvas-sync

Real-time synchronization of files between PlayCanvas and your local machine
https://playcanvas.com/
MIT License
75 stars 18 forks source link

Add getEditorBranches to ApiClient #39

Closed querielo closed 2 years ago

querielo commented 2 years ago

Add ability to get a list of all branches.

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.

Here is a link to REST API

yaustar commented 2 years ago

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