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

fatal: ambiguous argument '0.0.0...HEAD': unknown revision or path not in the working tree. #71

Open
grandeljay opened this issue Dec 5, 2023 · 1 comment

Comments

@grandeljay
Copy link

Hey,

first off thank you for making and maintaining this!

When I run composer changelog I get the following output:

> conventional-changelog

conventional-changelog 1.17.0
=============================

Checking environment requirements
 ✓ Commands executions enabled
 ✓ Git detected correctly
 ✓ Git version detected: 2.43.0
 ✓ Valid git worktree directory: /path/to/grandeljay/modified-consistent-flags
 ✓ Valid git remote repository url: https://github.com/grandeljay/modified-consistent-flags

Generating changelog

Summary
-------

 [OK] Changelog generated!

 > Changelog file: CHANGELOG.md
fatal: ambiguous argument '0.0.0...HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Is it due to my tags not starting with a v? I am using some more external tools and one them requires my git tags to be just numbers and dots. I already have 10 tags set.

Any ideas?

@vandres
Copy link

vandres commented Apr 29, 2024

Same here. I wanted to use the package for an existing repository which already has tags. But I used "1.0.0", "1.0.1" etc.

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

2 participants