--- id: 689b9655-ba18-4721-b6c3-39e9cde5a04b type: fix title: "tea CLI: always pass --repo to avoid path segment empty error" tags: [gitea, tea, cli, fix] importance: 0.6 confidence: 0.8 created: "2026-02-17T16:15:58.497155+00:00" updated: "2026-02-17T16:15:58.497155+00:00" --- When git remote URLs contain embedded credentials (https://user:token@host/owner/repo.git), tea CLI fails to auto-detect the repo with 'Error: path segment [0] is empty'. Fix: always pass --repo owner/repo explicitly to tea pulls create and similar commands. Example: tea pulls create --repo cal/major-domo-database --head branch --base main --title 'Title' --description 'Desc'