Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Copier update unknown switch --vcs_ref

See original GitHub issue

Describe the problem Using copier update 7.0.1

Template Any template

To Reproduce

  1. Run copier update --vcs_ref=HEAD as specified in the docs
  2. Observe error: Error: Unkown switch --vcs_ref

Expected behavior Ref to HEAD working


  • OS: Arch Linux
  • Copier version: 7.0.1
  • Python version: 3.9.5
  • Installation method: pip in virtualenv

Additional context As a side note just after generating from template the update does not work, and refers to a non-existing commit.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

szebenyibcommented, Nov 4, 2022

Ouch, that is true. Thank you, this somehow did not occur to me.

mshafer-NIcommented, Nov 4, 2022

Options get passed to copier rather than the sub-command.

Try copier --vcs-ref=HEAD update

Read more comments on GitHub >

github_iconTop Results From Across the Web

Buildah does not compress the first image layer of ubi8-micro ...
Our build relies on image digests to ensure that versions did not change, but if the first image layer is uncompressed and pushed...
Read more >
1705984 – Image Signature Verification is no longer working ...
--- > Image signatures are no longer being downloaded for new > neither for the legacy, however, ...
Read more >
Docker image failing to run - Stack Overflow
i made following change to dockerfile: #ENTRYPOINT ["dumb-init", "/"] ENTRYPOINT [""] now i'm ...
Read more >
aws-mail - Python Package Health Analysis - Snyk
aws_mail ignores unknown cli arguments, e.g. the ones usually sent to sendmail . ... Update the files copier --vcs-ref=HEAD update.
Read more >
network mode not supported by buildkit -
error: failed to solve: rpc error: code = Unknown desc = granting entitlement is not allowed by build daemon configuration.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found