-
Notifications
You must be signed in to change notification settings - Fork 99
Using_Git
To use Git in GAMA go to Views -> Other... -> Show View -> Other...
In the tree view that appears, select Git folder and click on Git Repositories
With Git you can easily create local repositories to version your work locally. First, you have to create a GAMA project (e.g GitNewProject) that you want to share via your local repository.
After you have created your GAMA project, go to the Git Repository view and click on Create a new local Git repository.
In the following window specify the directory for the new repository (select the folder of the created GAMA project in the last step - GitNewProject -), throught the button Browse...
then hit the Create button.
Now your local repository is created, you can add models and files into your GAMA project. As you selected the folder of the new created GAMA Project, the repository will not be empty. So, it will be initialized with all the folders and files of the GAMA projet. Note the changed icons: the project node will have a repository icon, the child nodes will have an icon with a question mark.
Before you can commit the files to your repository, you need to add them. Simply right click the shared project’s node and navigate to Team -> Add to Index.
After this operation, the question mark should change to a plus symbol.
To set certain folders or files to be ignored by Git, right click them and select Team -> Ignore. The ignored items will be stored in a file called gitignore, which you should add to the repository. The last thing to do is commit the project by right clicking the project node and selecting Team -> Commit… from the context menu. In the Commit wizard, all files should be selected automatically. Enter a commit message and hit the Commit button. If the commit was successful, the plus symbols will have turned into repository icons.
.... ... .
- Installation and Launching
- Workspace, Projects and Models
- Editing Models
- Running Experiments
- Running Headless
- Preferences
- Troubleshooting
- Introduction
- Manipulate basic Species
- Global Species
- Defining Advanced Species
- Defining GUI Experiment
- Exploring Models
- Optimizing Model Section
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Diffusion
- Using Database
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- Headless mode
- Using Headless
- Writing Unit Tests
- Ensure model's reproducibility
- Going further with extensions
- Built-in Species
- Built-in Skills
- Built-in Architecture
- Statements
- Data Type
- File Type
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the GIT version
- Developing Extensions
- Introduction to GAMA Java API
- Using GAMA flags
- Creating a release of GAMA
- Documentation generation