Skip to content

Commit

Permalink
Clear up that operation only works in config templates
Browse files Browse the repository at this point in the history
  • Loading branch information
lkubb committed Oct 16, 2024
1 parent 832d287 commit 735f33e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/creating.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,6 @@ Copier includes:
- It contains the current commit hash from the template in
`{{ _copier_conf.vcs_ref_hash }}`.
- Contains Operating System-specific directory separator under `sep` key.
- It also contains the current `operation` (`copy` | `update`).
- It also contains the current `operation` (`copy` | `update`). This value is
intended to be used for templating Copier configuration. It cannot be used in
templated project paths and files.

0 comments on commit 735f33e

Please sign in to comment.