Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git syntax requires uppercase HEAD #235

Open
nacnudus opened this issue Jun 11, 2023 · 0 comments
Open

git syntax requires uppercase HEAD #235

nacnudus opened this issue Jun 11, 2023 · 0 comments

Comments

@nacnudus
Copy link

Perhaps something has changed since the code was written, or perhaps it never worked on linux, but either way this currently doesn't work.

https://github.com/alphagov/tech-docs-template/blame/b37e89431e84c6e23ce6941e8315b2bbcdd12c1a/Thorfile#L127

Results in a file .template_version

---
:remote: [email protected]:alphagov/tech-docs-template.git
:revision: |-
  fatal: ambiguous argument 'head': unknown revision or path not in the working tree.
  Use '--' to separate paths from revisions, like this:
  'git <command> [<revision>...] -- [<file>...]'
  head

A correct file would be like

---
:remote: https://github.com/alphagov/tech-docs-template.git
:revision: 2a279b1c71eecf13296fdf752e6edee01c986f51

See https://stackoverflow.com/questions/48137927/git-head-lowercase-vs-head-uppercase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant