Closed Sonnenwerk closed 10 months ago
i have the branch "main" in git and the .env "branch_name=mainbranch_name=main". I also tried "head", but that did not help
When your branch name is "main" you should put it into the .env
:
branch_name=main
Yes, i had "main" first. As this did not work, i tried "head". Neither worked. [Maybe PC needs a restartz?]
The second one like "unknown Refspec" And the third one "rebase" --> can i do something about this ?
Well, you wrote branch_name=mainbranch_name=main
and not branch_name=main
.
But if you're 100% sure it's correct inside .env
: You screwed something up. At this point i am talking about release 1.1.0:
You could try to move into your backup folder which should be cd ~/config_backup
and do a git rebase --continue
or git rebase --abort
there and run the script.sh
again.
Ok. Next Learning - reboot helps next learning...i must rebase in the config_backup folder and not in the klipper-backup one...
So did you solve the issue?
Yes, this part, but now i have something like this. I am not sure yet, how i can clean up all this (mess). Would like to del my github backup and start the first backup from scratch...
" 18-01-24), es sollte vielleicht nach home/tom/printer_data/config/printer_data/config/crowsnest.conf verschoben werden.
KONFLIKT (Speicherort): klipper/printer_data/config/.moonraker.conf.bkp hinzugefügt in HEAD innerhalb eines Verzeichnisses, das umbenannt wurde in 74fef7e (New backup from 18-01-24), es sollte vielleicht nach home/tom/printer_data/config/printer_data/config/.moonraker.conf.bkp verschoben werden.
KONFLIKT (Speicherort): klipper/printer_data/comms/klippy.serial hinzugefügt in HEAD innerhalb eines Verzeichnisses, das umbenannt wurde in 74fef7e (New backup from 1 8-01-24), es sollte vielleicht nach home/tom/printer_data/config/printer_data/comms/klippy.serial verschoben werden.
KONFLIKT (Speicherort): klipper/printer_data/backup/20231204T185009Z/config/moonraker.conf hinzugefügt in HEAD innerhalb eines Verzeichnisses, das umbenannt wurde in 74fef7e (New backup from 18-01-24), es sollte vielleicht nach home/tom/printer_data/config/printer_data/backup/20231204T185009Z/config/moonraker.conf verschoben werde n.
KONFLIKT (Speicherort): klipper/printer_data/.moonraker.uuid hinzugefügt in HEAD innerhalb eines Verzeichnisses, das umbenannt wurde in 74fef7e (New backup from 18-01 -24), es sollte vielleicht nach home/tom/printer_data/config/printer_data/.moonraker.uuid verschoben werden.
error: Konnte 74fef7e... (New backup from 18-01-24) nicht anwenden
Resolve all conflicts manually, mark them as resolved with
"git add/rm
Just do a cleanup:
cd ~
rm -r ./klipper-backup
rm -r ./config_backup
git clone https://github.com/Staubgeborener/klipper-backup.git && chmod +x ./klipper-backup/script.sh && cp ./klipper-backup/.env.example ./klipper-backup/.env
# edit .env
maybe you get this rebase error again, but just solve it like the last time and run script.sh
.
Btw: You didn't create a repository under https://github.com/Experiment4/Evolux, the page just returns 404.
And please use `` for code or > for block quote, it's quite hard to read otherwise.
So, now it is solved. Important trick for me..it does not depend on a reboot. If you f** up something in .env, you must delete the .git directory and start over again.
Thanks for supporting here !
Alright, glad you solve it.
"The branch name defined in .env does not match the branch that is currently checked out, to remove this warning update branch_name in .env to" --> i have the branch "main" in git and the .env "branch_name=mainbranch_name=main". I also tried "head", but that did not help
Von https://github.com/Experiment4/Evolux
fatal: ungültige Refspec ''
--> wie bekomme ich diese Meldung weg, bzw. so hin, dass das backup richtig läuft ?