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 22, 2024
1 parent e4bcc3e commit 1e67a47
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 1e67a47

Please sign in to comment.