As we've explained in the previous page, your Admin panel's frontend is saved on Forest Admin servers. As a result, you can't version it. But don't worry, we've got you covered with some great tools!
The notion of branch cannot be explained without first explaining what a layout is.
A layout is all the settings that define your user interface (UI). In Forest Admin, there is 1 layout per environment and per team:
A branch is a fork (i.e copy) of the layout of your origin environment. It is attached to your development environment.
Once you've created a branch, your layout will look exactly like the layout of your origin environment. However,
Any layout change you make on your current branch using the Layout Editor will be saved on your current branch and will not affect your origin environment.
Imagine the following situation where you have 3 environments:
forest branch my-branch
To learn more about the
branch command, please visit this page.
On your interface, click on the environment dropdown at the top-left side of your screen. Select a developement environment (if you don't have one, see the init command).
Your current branch will be displayed at the top.
In the Environments dropdown, you can see the number of changes made on the branch/environment.
Now that you've mastered branch creation and management, let's dive into the next step of the development workflow: deployment