You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Git repository, which is based on a template. The repository was updated several times with copier update and some generated files were manually edited. Now, I want to overwrite all manual edits by running copier recopy --overwrite. However, this overwrites only some files but leaves other files as they are. See logs below.
Why are some files skipped? Why does it care about conflicts at all if the purpose of copier recopy in contrast to copier update is to simply overwrite everything with generated files from the template?
Even more astonishing is that copier recopy (without --overwrite) asks for some files if I want to overwrite them but other files are just skipped. See second log below.
Template
This does not seem to be related to a particular template.
Describe the problem
I have a Git repository, which is based on a template. The repository was updated several times with
copier update
and some generated files were manually edited. Now, I want to overwrite all manual edits by runningcopier recopy --overwrite
. However, this overwrites only some files but leaves other files as they are. See logs below.Why are some files skipped? Why does it care about conflicts at all if the purpose of
copier recopy
in contrast tocopier update
is to simply overwrite everything with generated files from the template?Even more astonishing is that
copier recopy
(without--overwrite
) asks for some files if I want to overwrite them but other files are just skipped. See second log below.Template
This does not seem to be related to a particular template.
To Reproduce
No response
Logs
Expected behavior
copier recopy --overwrite
should not care about conflicts and just overwrite all files with the ones generated from the templates.Screenshots/screencasts/logs
No response
Operating system
Linux
Operating system distribution and version
Ubuntu 24.04 (devcontainer)
Copier version
9.5.0
Python version
3.12.3
Installation method
pipx+pypi
Additional context
Manual edits occurred in both kinds of files, those that are overwritten by copier and those that are skipped.
The text was updated successfully, but these errors were encountered: