I was trying out quest mode but it says git repo is required and I do not have any. Start now button is disabled with a tooltip saying “A Git repository is required“. Is there any solution for this ? Is there any rationale behind forcing the user to have a git repo for quest mode to work ?
Can someone from the team respond please ?
Hello,
Thank you for reaching out and for your excellent question. I can certainly understand why the Git repository requirement for Quest Mode might seem puzzling at first.
Solution:
The reply you received is technically correct. You can enable Quest Mode by initializing a Git repository in your project folder. Here are the steps:
-
Open a terminal or command prompt within your project’s main directory.
-
Run the command:
git init -
(Recommended) It’s also a good practice to make an initial commit:
git add .
git commit -m "Initial commit" -
After this, the “Start now” button in Quest Mode should become active. If it doesn’t, please try restarting the Qoder IDE as you were advised.
Rationale (Why Git is Required):
You asked a great question about why we require Git, and there’s a very important reason for it. Quest Mode is designed to track your progress by monitoring the changes you make to the code. Git is the industry-standard tool for tracking code changes. We leverage it to:
-
Verify Task Completion: The IDE can use Git’s diffing capabilities (
git diff) to automatically check if your solution correctly meets the quest’s objectives. -
Provide a “Reset” Function: If you get stuck or want to start a quest over, we can use Git to safely and reliably revert your code back to the state it was in before you started the quest, without messing up your project.
So, rather than being a hurdle, the Git requirement is a core feature that makes the Quest Mode experience more robust, interactive, and safe for your codebase.
I hope this explanation helps! Please let us know if you have any more questions.
I’m using the git and creating the git following the guidance in the QuestMode of Qoder, after the summit √ pressed, the git panel loading as uploading for several hours with 14 files, may any connections problems can be mentioned or any button or responding method tips can make the uploading work pause and waiting or tips for the upload to make git part can be continue manually?
already initialized git but cannot detect ??
