Staubgeborener / Klipper-Backup

Klipper-Backup is a script for manual or automated Klipper GitHub backups. It's Lightweight, pragmatic and comfortable.
https://klipperbackup.xyz
300 stars 58 forks source link

Reordered git actions and order of operations #37

Closed Tylerjet closed 10 months ago

Tylerjet commented 10 months ago

Script will now pull any changes to the local branch first (should prevent any need for rebase or merge), then copy the backup to the repository folder, add and commit the backup's files, then push it back to the remote repository.

Should resolve #36 as well

Please test on your end too, I did very small tests as the only main changes was the order in which some commands were ran with a few additional checks as well.