···8080 if (hasVitDir) {
8181 console.log(`hint: run: ${name} init --beacon <canonical-git-url>`);
8282 } else {
8383- console.log(`hint: run ${name} init from inside a git repository.`);
8383+ console.log(`hint: navigate to a git repository and run '${name} init' there.`);
8484+ console.log(` to start fresh: git init && git remote add origin <your-repo-url>`);
8485 }
8586 return;
8687 }
+2-1
test/init.test.js
···141141 expect(result.exitCode).toBe(0);
142142 expect(result.stdout).toContain('status: not initialized');
143143 expect(result.stdout).toContain('git: false');
144144- expect(result.stdout).toContain('hint: run vit init from inside a git repository');
144144+ expect(result.stdout).toContain("hint: navigate to a git repository and run 'vit init' there.");
145145+ expect(result.stdout).toContain('to start fresh: git init && git remote add origin <your-repo-url>');
145146 });
146147147148 test('guides agent in fork repo with upstream and origin remotes', () => {