diff --git a/Writerside/topics/Updating.md b/Writerside/topics/Updating.md index 4a999ba..64e7d5f 100644 --- a/Writerside/topics/Updating.md +++ b/Writerside/topics/Updating.md @@ -12,7 +12,7 @@ This section provides comprehensive instructions on how to **update Allor**, whe If you wish to **modify this behavior** or **disable auto-update**, please refer to the configuration page. -### Troubleshooting +### Troubleshooting { id="troubleshooting_auto_update" } If you have problems with auto-update, you can switch it to **hard mode** in configuration. @@ -30,9 +30,9 @@ This **does NOT** affect ComfyUI, other plugins, last update timestamp and the A +See how to [Work with Terminal](Work-with-Terminal.md). + 1. **Open Terminal**: Navigate to the `ComfyUI/custom_nodes/ComfyUI-Allor` directory. - - You can do this by opening the Terminal and using the `cd` command. 2. **Update the Repository**: Update the repository by entering the following command: @@ -47,15 +47,9 @@ This **does NOT** affect ComfyUI, other plugins, last update timestamp and the A -1. **Open Command Prompt**: Navigate to the `ComfyUI\custom_nodes\ComfyUI-Allor` folder. - - You can do this by pressing Win+R and typing `cmd`. - - To change the drive, type the letter of the desired drive followed by a colon. - For example, `D:` will switch you to the D drive. +See how to [Work with Terminal](Work-with-Terminal.md). - To move to another folder, use the cd command followed by the folder path. - For example, `cd ComfyUI` will take you to the ComfyUI folder. +1. **Open Command Prompt**: Navigate to the `ComfyUI\custom_nodes\ComfyUI-Allor` folder. 2. **Update the Repository**: Update the repository by entering the following command: @@ -67,3 +61,25 @@ This **does NOT** affect ComfyUI, other plugins, last update timestamp and the A + +### Troubleshooting { id="troubleshooting_git" } + +As with [auto-update](Updating.md#troubleshooting_auto_update), you can reset the **Allor** repository to the latest state if you find problems. + + + +1. Get the current state of the remote repository: + +```Bash +git fetch origin main +``` + +2. Reset the current state to the remote repository level + +```Bash +git reset --hard origin/main +``` + + + +Be **careful** when using these **commands**, as they completely **remove** all manual **changes** made by the user to **Allor**.