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

nimble run fails inside git repo with no commits #994

Open
iacore opened this issue Mar 26, 2022 · 0 comments
Open

nimble run fails inside git repo with no commits #994

iacore opened this issue Mar 26, 2022 · 0 comments

Comments

@iacore
Copy link
Contributor

iacore commented Mar 26, 2022

How to reproduce

  1. Create a directory
  2. Run git init
  3. Run nimble init -y (with fix from Fix create directory behavior #983)
  4. Run nimble run
    Error:  Execution of 'git -C /tmp/db rev-parse HEAD' failed with an exit code 128.
        ... Details: 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

Why does nimble need to use git anyway?

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

No branches or pull requests

1 participant