Charles
Charles

Reputation: 4218

Version Control for NetLogo Models

I'm wondering if anyone has a good method for version control of NetLogo models, other than simply keeping old versions in numbered directories. My models use a number of .nls files so any method would need to include those as well.

Upvotes: 2

Views: 427

Answers (2)

Nicolas Payette
Nicolas Payette

Reputation: 14972

Robin is right: any version control tool should do. NetLogo files (both .nlogo and .nls) are just text files.

If you are not familiar with version control tools like git, let me state emphatically that getting to know one is an investment that is very well worth your time.

The extensive model library that comes with NetLogo itself is under git version control and hosted on GitHub: https://github.com/NetLogo/models.

You may also want to take a look at http://modelingcommons.org, which allows for a fairly straightforward tracking of a NetLogo model's history. I'm not sure how much support there is for .nls files, however, other than that they can be uploaded as attached files.

Upvotes: 4

RobinCura
RobinCura

Reputation: 410

As for any text document, any version control software (git, subversion, cvs ...) will work just fine for such things :)

Upvotes: 3

Related Questions