Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ pixi exec --spec copier --spec ruamel.yaml -- copier copy --trust https://github
To update to a newer template version:

```bash
pixi exec --spec copier --spec ruamel.yaml -- copier update --defaults --trust
pixi exec --spec copier --spec ruamel.yaml -- copier update --defaults --trust .
```

Note that copier will show `Conflict` for files that have manual changes.
This is normal. As long as there are no merge conflict markers in the files all patches applied cleanly.

If you want to change any answer that you gave before, run:

```bash
pixi exec --spec copier --spec ruamel.yaml -- copier update --trust --defaults --vcs-ref=:current: --data answer_name=answer_value .
```
9 changes: 9 additions & 0 deletions template/{{ _copier_conf.answers_file }}.jinja
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# This file is managed by Copier; DO NOT EDIT OR REMOVE.
#
# If you want to change any of the copier answers, run one of the following:
# 1. If you want to answer _all_ questions again:
# `copier update --trust --vcs-ref=:current: .`
# 2. If you want to answer a _specific_ question again:
# `copier update --trust --defaults --vcs-ref=:current: --data answer_name=answer_value .`
#
# If you want to run this as a one-off command, prefix with:
# `pixi exec --spec copier --spec ruamel.yaml -- {command}`
{{ _copier_answers|to_nice_yaml -}}