-
Notifications
You must be signed in to change notification settings - Fork 80
ctf challenge add fails #173
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
Comments
I believe you have changes in your local repository which is causing the errors you're seeing. Try running the command after committing the changes and then it should work. |
The above was running on raspberrypi, but I tried running it on docker as well.
|
The clue here is:
git is unable to detect an email address, and can't make the initial commit. When you try to add the challenge it detects that the working tree has modifications and fails. |
I certainly don't have a git setup... |
@misogihagi, from the README:
|
@VaiTon , thants forinformation. |
git is used by ctfcli to support versioning of challenges. CTFd itself does not do versioning so we use git to track how challenges change. We use a bit of a strange setup (that I doubt people will want to replicate) but I don't think using git to manage challenges is uncommon. |
Hello. I am new to ctfcli, I just did
ctf init
andctf challenge add https://github.com/misogihagi/my-ctf-challenges.git
andgot the following error:Is this a known bug?
The text was updated successfully, but these errors were encountered: