[Solved] Modified backup.py - v0.22 update fails - replace with new backup.py


So i want to update to v0.22 and this is the output:

~# curl -s https://mailinabox.email/setup.sh | sudo bash
Updating Mail-in-a-Box to v0.22 . . .
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 1 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), done.
error: Your local changes to the following files would be overwritten by checkout:
Please, commit your changes or stash them before you can switch branches.
Update failed. Did you modify something in /root/mailinabox?

I am pretty sure that i change something in backup.py to try to modify the ssh port for rsync. I am not using that changeā€¦
I think I am fine by just replacing the old backup.py with the new one.
How can I do that?

thx =DD


Git reset should do the trick.


thank you, worked out =D

i navigated to the git project
cd mailinabox
revert changes made
git checkout .
and that was it =DD