Working with Git Repository

Working with branches

GitHub is integrated with Flatlogic hosting, enabling seamless deployments directly from the platform. There are two branches available: master and generated.

  • The master branch is designed for you to make direct changes to the source code.
  • The generated branch is managed by the Flatlogic Bot, which handles updates to the generated code.

To trigger a Flatlogic Bot commit, simply click the Push to GitHub button after making changes to your app. Once the changes are pushed, you’ll need to create a pull request and merge the generated branch into master.

For optimal workflow, avoid making manual changes to the generated branch and leave it exclusively for the Flatlogic Bot’s updates.

Here is a video example of How to push platform updates to Github and merge branches.

Master Branch

All customizations should be made in the master branch on GitHub.

To apply your changes and see them in your application, go to your Project Settings on Flatlogic.com. Click Deploy from Git, and your application will be rebuilt to include the updates from GitHub.

Generated Branch

After every change you have made to your project on the Applications Settings tab you can initiate a push to GitHub. Flatlogic bot will push changes to the Generated Branch.

Next you can create a pull request and merge the changes in both branches with a click on ‘Compare & pull request’.


← Project Structre                                                          Deploing app →