Open
Description
Description
Runcz check --range origin/master..HEAD
to check commits in CI occasionally fails.
And it worked after I retried the job.But sometimes it didn't work after retrying multiple times.
I couldn't find out the reason ,
Steps to reproduce
lint:
retry: 1
script:
- cz version
- cz check --rev-range origin/master..HEAD
Current behavior
cz check --rev-range origin/master..HEAD
failed. Outputs attached below:
fatal: ambiguous argument 'master..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Desired behavior
cz check --rev-range
can run successfully in gitlab CI.
Screenshots
Environment
commitizen version: 2.34.0
python version: 3.7.5
operating system: Linux