Skip to content

ctf challenge add fails #173

@misogihagi

Description

@misogihagi

Hello. I am new to ctfcli, I just did ctf init and ctf challenge add https://github.com/misogihagi/my-ctf-challenges.git andgot the following error:

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>...]'
fatal: working tree has modifications.  Cannot add.
Could not add the challenge repository. Please check git error messages above.   

Is this a known bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions