Git Settings
This page provides information on all Git-related settings available within Appsmith. These properties become available once you've connected your app to Git. You can access these settings by clicking on the gear icon located on the bottom bar.
General
These properties are customizable options accessible within the Git settings modal.
Git author
This section allows you to modify the name and email associated with the author. You can choose to either use the default settings or disable the Use Default Configuration button and add a new name and email.
- Name: You can update the Git author's name, which changes how your identity is displayed in the commit history.
- Email: You can specify a new email address. This change affects how your contributions are linked and identified across the repository's history.
Danger zone
This section allows you to change important Git settings such as disabling auto-commit or disconnecting Git from Appsmith.
Disable Auto-Commit:
The Auto Commit feature in Appsmith automatically commits changes related to version upgrades. When auto-commit is enabled, it:
-
Automatically commits changes to a non-protected branch when you open the branch in your app. If the app is not actively in use, the auto-commit will not take place.
-
Commits only the changes related to Appsmith's Domain Specific Language (DSL) components, not your specific app changes.
If you disable auto-commit, it prevents automatic changes from Appsmith, potentially resulting in uncommitted system changes after an Appsmith instance upgrade. This may require manual handling and could lead to discrepancies in Git versioning.
Example:
When Appsmith updates its version and auto-commits changes, only updates related to the Table widget—such as new properties or methods—are committed. Your customizations, like styling or data updates, remain unaffected. DSL-related changes can be found in your Git repository within the relevant page folder.
//example dsl code
"dsl": {
"widgetName": "MainContainer",
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 89,
"minHeight": 1292,
"parentColumnSpace": 1,
},
Disconnect Git:
This action permanently disconnects your Appsmith app from Git. Once disconnected, it is not possible to reconnect to the same repository. If you want to reconnect, you need to connect a new empty repository.