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.
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.