Skip to content

Add git init to noot init command#9

Merged
ab-10 merged 1 commit intomainfrom
feature/noot-init
Jan 24, 2026
Merged

Add git init to noot init command#9
ab-10 merged 1 commit intomainfrom
feature/noot-init

Conversation

@recursiveAF
Copy link
Contributor

Summary

  • Runs git init during noot init to initialize a git repository
  • Project root discovery relies on .git directory, so this ensures it works immediately after initialization
  • Updates CLI output to show .git/ in the created files list

Test plan

  • Existing tests pass
  • Added assertion to verify .git/ directory is created
  • Manual test: run noot init --name test_project in empty directory and verify git repo is initialized

🤖 Generated with Claude Code

Project root discovery relies on .git directory, so noot init now
runs git init during setup to ensure discovery works immediately.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ab-10 ab-10 merged commit bf41086 into main Jan 24, 2026
2 checks passed
@ab-10 ab-10 deleted the feature/noot-init branch January 24, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants