Updating an Inventory from Git
If more users cooperate on the same inventory, it is advised to create an own copy of the inventory. Use the Publish inventory to gitand Update inventory from gitfunctions to sync the work of all users.
When there are already changes published to the repository by other users, you can update your local inventory with the Update Inventory from Gitfunction. You find the Update Inventory from Gitfunction in the Action menu in the sidebar of the Inventory Editor screen:
The Update Inventory from Git flow is different in the following situations:
- There are no remote changes.
- There are remote changes, but no local changes.
- There are both remote and local changes.
The following sections describe the Update Inventory form Git flow in each situation:
No Remote Changes
When no remote changes are found in the repository, the following dialog informs the user about it:
Outcome: It is not necessary and also not possible to update the local inventory.
Remote but No Local Changes
When there are remote changes in the repository, but no local changes in the inventory, the update process starts:
Outcome: The local inventory is updated.
Remote as well as Local Changes
When there are remote changes in the repository and unpublished changes in the local inventory, the update process does not start automatically. Instead, you will see a dialog that offers two options:
Outcome:
If needed, you can save your data by exporting the local inventory. For more information, see Exporting and Importing an Inventory using ZIP.