Changes are present in the repository that must be applied before an export can be performedIssue Sometimes users may not be able to commit changes to source control from Studio, commit fails with the error message "Error occurred while exporting application : com.glide.sourcecontrol.SourceControlException: Changes are present in the repository that must be applied before an export can be performed"ReleaseAllCauseWe encounter this error if the local repo(sys_repo_config) and remote repo(GIT) are out of sync. Some events like db crash when there is a commit in progress, unmanaged commits from multiple instances and changes from GIT server, etc.. can leave the local repo reference and remote repo reference numbers in an incorrect state.ResolutionOne of the best possible ways to bring the application to the correct state. Remove the sys_update_xml records related to the current application. This is to ensure, there are no local changes made to this application. Local updates can cause issues while installing an application or applying changes.Stach Local Changes [To save local work].Apply remote changes from source control [It should sync the source control].From "Manage Stashes" apply the recent Stash.You should be able to commit local changes now. Source Control > Commit