Chatterbox-TTS-Server icon indicating copy to clipboard operation
Chatterbox-TTS-Server copied to clipboard

can't update

Open fsdnotavai opened this issue 1 year ago • 2 comments

git pull origin main From https://github.com/devnen/chatterbox-tts-server

  • branch main -> FETCH_HEAD Updating bdedb35..5bf7293 error: Your local changes to the following files would be overwritten by merge: config.yaml Please commit your changes or stash them before you merge. Aborting

There is no option for me to confirm the merge, and the abortion is automatic.

fsdnotavai avatar Jul 04 '25 12:07 fsdnotavai

This is a safety feature in Git. It's stopping because you've made changes to your config.yaml file, and it doesn't want to accidentally delete them.

Here is the easiest and safest way to fix it. Just run these three commands in order:

Save your changes: git stash

Update the code: git pull origin main

Get your changes back: git stash pop

Your files will be updated, and your settings in config.yaml will be safe.

devnen avatar Jul 09 '25 22:07 devnen

This is a local-edits-vs-pull conflict on config.yaml, not a project bug. config.yaml is meant to be edited per-install. Easiest fix:

git stash
git pull
git stash pop   # or: git checkout config.yaml if you don't need your changes

If you want your edits preserved across pulls, copy config.yaml to a separate file and merge changes in by hand after a pull. Closing.

devnen avatar May 11 '26 14:05 devnen