TortoiseGit detects that the file does not exist, but has been temporarily stored as “Add” or “Modify” in “Index”. The Submit dialog box cannot be handled. Do you want to recover or delete it from the index?
1. TortoiseGit detects that the file does not exist, but has been temporarily stored as “Add” or “Modify” in “Index”. The Submit dialog box cannot be handled. Do you want to recover or delete it from the index? Recover this file from the index (E) Remove this file (R) from the index and ignore it. as shown in Figure 1
2. Restore this file (E) from the index, prompt: Restoring from index failed: fatal: unable to create “e:/wwwroot/object/.git/index.lock”: File exists. As shown in Figure 2
3. Manually delete the file: “e:/wwwroot/object/.git/index.lock”. as shown in Figure 3
4. Restore this file (E) from the index, prompt: Due to changes to the index, please refresh the dialog (e.g., by pressing f5).
5. File: E:\wwwroot\object\xxx\modules\themestoredb\models\themeInstallationTask.php has been restored and now exists. as shown in Figure 5




