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
copy on repository contains uncommit files doesn't works even when added -r HEAD option.
Template
hello {{name}}
To Reproduce
Create empty directory
Create copier.yaml contains content below
_min_copier_version: 9.4.1_subdirectory: templatesname:
type: strhelp: What is your name?
Create templates directory and file named message.txt
The file should contains hello {{name}}
$PWD/example:
copier.yaml: | _min_copier_version: 9.4.1 _subdirectory: templates name: type: str help: What is your name?templates/message.txt: | hello {{name}}
Run copier copy . .temp and it should works normally
Run git init
Rerun copier copy . .temp again and it doesn't works anymore
Even with copier copy -r HEAD . .temp, it doesn't works as well
Logs
.../copier/9.4.1/venv/lib/python3.12/site-packages/copier/vcs.py:209: DirtyLocalWarning: Dirty template changes included automatically. warn(Copying from template version 0.0.0.post1.dev0+9e08b53
Expected behavior
it copy templates to target directory.
Screenshots/screencasts/logs
No response
Operating system
macOS
Operating system distribution and version
MacOS 15.1.1
Copier version
copier 9.4.1
Python version
Python 3.12.2
Installation method
pip+pypi
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the problem
copy on repository contains uncommit files doesn't works even when added
-r HEAD
option.Template
hello {{name}}
To Reproduce
hello {{name}}
copier copy . .temp
and it should works normallygit init
copier copy . .temp
again and it doesn't works anymorecopier copy -r HEAD . .temp
, it doesn't works as wellLogs
Expected behavior
it copy templates to target directory.
Screenshots/screencasts/logs
No response
Operating system
macOS
Operating system distribution and version
MacOS 15.1.1
Copier version
copier 9.4.1
Python version
Python 3.12.2
Installation method
pip+pypi
Additional context
No response
The text was updated successfully, but these errors were encountered: