This Is How to Use Version Control in Anvil

Learn how to track changes with Anvil’s built-in version control

Photo by Yancy Min on Unsplash

Without version control software like Git, it can be complicated to track the changes you make to code. Anvil, the platform for building web apps with nothing but Python, comes with built-in version control backed by Git.

In this article, I’m going to give a quick run-through of version control in Anvil, showing you how simple it is to use and how powerful it can be. Let’s get started.

What Does Anvil’s Version Control Actually Do?

Anvil’s version control, like many other version control systems, does a number of things. It lets you:

Let’s start by looking at tracking changes.

Tracking Changes

The best way to learn about a feature is to try it out, so I’ve created a simple example app for you to use while following along with this article. The example is a simple feedback form app. Use the clone link below to get started and follow along (it’s free):


Following the clone link will take you to the Anvil Editor.


Commits are a snapshot of an entire app at a point in time. Commits are the building block units of a project’s timeline.

To view the commits of an app, click the upward arrow at the bottom of the Anvil editor and select the Version History tab.

This Is How to Use Version Control in Anvil was originally published in Better Programming on Medium, where people are continuing the conversation by highlighting and responding to this story.

(Visited 1 times, 1 visits today)