Skip to content

Version Control

Studio keeps the history of your application in a Git repository, so you can save your work in named steps, go back, work on a copy of the application in a branch, and share changes with other people. You do all of it from Studio, without a separate Git program.

Every application starts on a branch called master. Each model, such as a business object, a form or a theme, is tracked as a unit, and its status is shown in the Project Explorer.

Where to find it

Where What you use it for
Project Explorer, top The current branch name, and two buttons: Update (the down arrow) to bring in other people's changes, and Commit (the up arrow) to save yours. The Show Log command opens the list of commits.
Right-click a model → Version Control Commit or discard the changes of that one model, or open the log.
Filter in the Project Explorer Show only the models in a given status, for example the modified ones.
Version Control window Branches, tags, remotes, commits, and Pull and Push. Open it with Show Log.

Model status

The colour of the marker in front of each model tells you where it stands.

Status Meaning
Unaltered The model has no changes since the last commit.
Untracked A new model that has never been committed.
Modified Changed, and not yet committed.
Missing Deleted, and the deletion is not yet committed.
Conflicted It cannot be updated, because your changes and the incoming changes overlap.

Filtering by status

The Project Explorer filter

The filter at the top of the Project Explorer limits the tree by status: All, Pending, Removed, Conflicted, Untracked, Modified or Unaltered. Use Modified and Untracked to see what you still have to commit, and Conflicted when an update has gone wrong.

Commit your work

A commit saves the current state of the models you choose, with a message that says what you did. Commit when something works, not only at the end of the day. Small commits are easy to read and to undo.

  1. Click Commit at the top of the Project Explorer. The Commit Models window opens.
  2. Type a message that says what changed and why, for example Add the product list and edit form.
  3. Look at the list of models below the message. It shows every changed model with its status, and counts them, for example 9 models to commit.
  4. Click Commit.

The Commit Models window

To commit a single model, right-click it and choose Version Control, then Commit.

Writing a good message

Start with what the change does. Keep it to one line when you can. A good message saves you from opening a commit later to remember what it was.

Discard changes

To throw away your uncommitted changes in a model and return it to the last commit, right-click the model, choose Version Control, then Discard.

Discard cannot be undone

Discarded changes are gone. Commit first if you might want them back.

Update

Update brings in the changes that others have committed, or that you have on another copy of the application. Click Update at the top of the Project Explorer. Models without uncommitted changes of your own are updated at once.

If the incoming changes overlap with changes you have not committed, the model is marked Conflicted. See Conflicts.

The log and the Version Control window

Open Show Log to see the Version Control window. It shows the current branch, for example refs/heads/master, and is divided in three:

Area What it holds
Left Branches, Tags and Remotes. Select a branch to see its commits. The + button creates a New Branch. At the bottom are Pull and Push.
Middle The commits of the selected branch, with a Search commits box.
Right The details of the selected commit. With no commit selected it says Select a commit to view details.

A new application has no commits until you make the first one, and the window then says No commits found.

The Version Control window of a new application

Branches

A branch is a separate line of work. Create one with New Branch when you want to try a large change without disturbing master, or when several people work on different features. When the work is ready, bring it back into master.

Pull and push

If the application has a remote, a copy of the repository somewhere else, Pull brings its commits to Studio and Push sends yours to it. Use them to share an application with a team or to keep a copy of the history outside Studio.

Conflicts

A conflict happens when you have uncommitted changes in a model and you update it, and the incoming changes touch the same part. Studio then shows a message, and the Project Explorer shows that the application has conflicts, until you resolve them.

Click the message in the Project Explorer. The filter changes to Conflicted, and only the models with conflicts are shown.

Resolving a conflict

Right-click a conflicted model, choose Version Control, and pick one of the options:

Option What happens
Manually Resolve You see the conflicts, decide how each one should be resolved, and apply the result yourself.
Resolve Using Mine Your changes overwrite the incoming ones.
Resolve Using Theirs The incoming changes are kept, and your changes to the model are lost.

Choose carefully

Resolve Using Theirs discards your work on that model. If you are unsure, use Manually Resolve, or commit a copy in a branch first.

No conflict does not mean no change

If your uncommitted changes are in a different place from the incoming changes, an update succeeds without a conflict, and your changes are kept next to the new ones. Check the result after an update.

Seeing what changed

Studio has a Show Changes tool that displays the differences in a model, and the same differences are available to AI agents. Look at the changes before you commit, to check that you are about to save what you meant to save, and after an update, to see what others did.

Working with AI agents

When an AI agent changes your application through the MCP server, its changes are changes to the models like any other. They show up as Modified models, and you review and commit them in the same way. See MCP Tools for the tools that let an agent read the differences.

Good habits

  • Commit often, with a clear message.
  • Update before you start a piece of work, so you begin from the latest state.
  • Use a branch for risky or long changes.
  • Resolve conflicts promptly. The longer a conflict waits, the larger it grows.
  • Commit before a build you care about, such as a production deployment, so that you can always return to what you deployed.