Commit changes to a repository
Commit changes made in your application in App Engine Studio (AES) to a linked Git repository. You can either select a few changes to commit, or commit all changes on the instance at once.
Avant de commencer
- Role required: admin
- Link an application or application-customization to source control
Procédure
- Navigate to All > App Engine > App Engine Studio.
- From the My Apps page, open your application.
-
Select Source control > Commit changes.
The system displays the Select files to commit to source control window. The file changes from all the updates sets display. By default, the file changes from the current update set display.
- Select the file changes you wish to commit.
-
To include untracked changes, select the Include changes not tracked
via the Customer Update [sys_update_xml] table check box.
- The default for this check box is set via the
glide.sourcecontrol.default_commit_mode
property.
- Property can be set to include_untracked or exclude_untracked.
- The include_untracked mode commits the updates to the application that do not generate sys_update_xml records, as well as any user-selected updates.
- The exclude_untracked mode commits only updates selected by the user in the Select files to commit to source control dialog.
- The base system setting for the property is exclude_untracked.
- To hide the check box and use the value of the glide.sourcecontrol.default_commit_mode property, create the sn_devstudio.vcs.allow_commit_mode_selection property and set it to false.
- Checking this check box may incur a performance penalty.
Remarque :Commits always occur in include_untracked mode in the following cases:
- Linking to source control for the first time. (To learn more, see Link an application or application-customization to source control.)
- Publishing an application that's linked to source control from App Engine Studio.
- Selective commit mode is disabled.
- The default for this check box is set via the
glide.sourcecontrol.default_commit_mode
property.
- Select Continue.
- In Commit comment, enter a comment for the changes.
-
Select Commit Files.
The following operations occur:
- The system identifies all local changes.
- The system commits all local changes to the remote repository.
Remarque :For list of known files that don’t have customer update records and are untracked, see Customer Updates table.