AnyLogic
Expand
Font size

About Git in AnyLogic

Git is a distributed version control system that allows developers to track changes to their code and collaborate efficiently. Git stores the entire history of the project as a series of snapshots, making it easy to revert to previous versions, compare differences, and merge branches. Git also allows for local version control, since most commands can be executed without accessing a remote server.

If you are new to Git or version control in general, start by reading the official documentation.

With Git in AnyLogic, you can easily manage the distributed development of your models. Multiple developers can create and switch between different versions of their models, share and synchronize their work with others, and resolve conflicts with ease. Git support also provides features such as code review, pull requests, and continuous integration.

Git is implemented in AnyLogic using the add-on, which allows you to perform most common Git operations such as cloning, committing, pushing, pulling, branching, and merging from within the AnyLogic desktop installation.

Git integration is not available in AnyLogic PLE.

Git is a separate perspective within the AnyLogic application interface, which means that it has its own set of views and toolbars that are optimized for working with Git repositories and projects. To switch to the Git perspective, click on the Git icon in the upper right corner of the application window.

You can customize various aspects of Git, such as the default repository folder, remote connection settings, and so on, on a special page in the AnyLogic preferences (see Tools > Preferences > Advanced > Git).

How can we improve this article?