Skip to content

Commit

Permalink
Update manual.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Staubgeborener authored Sep 23, 2024
1 parent 52fdba2 commit 12a231f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Just start the script manually via the shell.
~/klipper-backup/script.sh
```

The script automatically uses the current timestamp as the commit message and automatic determines the format for the timestamp based on the timezone (America: mm/dd/yyyy, otherwise: dd.mm.yyyy). If you want to customize this, you can call the script as follows `~/klipper-backup/script.sh --commit_message "my commit message"` ([see Command-Line Arguments]([alternative-methods.md/#command-line-arguments)){:target="_blank"}).
The script automatically uses the current timestamp as the commit message and automatic determines the format for the timestamp based on the timezone (America: mm/dd/yyyy, otherwise: dd.mm.yyyy). If you want to customize this, you can call the script as follows `~/klipper-backup/script.sh --commit_message "my commit message"` ([see Command-Line Arguments](alternative-methods.md/#command-line-arguments){:target="_blank"}).

## Klipper macro
You can create a klipper macro `[gcode_macro update_git]` to run the backup manually in the Mainsail UI. This requires the [G-Code Shell Command Extension](https://github.com/th33xitus/kiauh/blob/master/docs/gcode_shell_command.md){:target="_blank"} which you can get very easily through [KIAUH](https://github.com/th33xitus/kiauh){:target="_blank"}.
Expand Down

0 comments on commit 12a231f

Please sign in to comment.