Question · Vibe coding with Claude Code course · Module 10: TikTok clone
Push before a worktree
Why do you push main before claude -w when the project has a remote repository?
Answer options
- Without a push claude -w ends with an error
- A new worktree starts from the default branch of the remote repository, so without a push it lacks the latest commits
- A push copies node_modules into the new worktree
- A push removes old worktrees from the .claude folder
You can check the correct answer by solving this task in the CodeWorlds game.