Git Version Requirements
LazyWorktree requires Git 2.31 or newer for full worktree functionality. Check your version:Icon and Font Issues
Icons showing as boxes or question marks
LazyWorktree uses Nerd Fonts for icons. If you see boxes, question marks, or broken symbols: Solution 1: Install a Nerd Font>instead of+instead of “-instead of “
Terminal not rendering fonts correctly
Even with Nerd Fonts installed, some terminals don’t render them properly:-
Verify your terminal supports UTF-8:
- Configure terminal to use your Nerd Font (check terminal preferences)
-
Test icon rendering:
macOS Gatekeeper Issues
”lazyworktree cannot be opened because the developer cannot be verified”
This appears when running unsigned binaries on macOS. Solution:PR/MR Not Showing
Pull requests or merge requests don’t appear in the list
LazyWorktree requires platform-specific CLI tools: For GitHub PRs:LazyWorktree automatically detects your repository’s platform (GitHub, GitLab, Gitea, etc.) and uses the appropriate CLI tool.
”Failed to fetch pull requests”
Check authentication:CI Status Issues
CI status not updating or showing outdated information
Solution 1: Adjust auto-refresh intervalr) to immediately update CI status.
”Rate limit exceeded” errors
GitHub and GitLab APIs have rate limits. If you see rate limit errors:- Increase
ci_auto_refreshinterval to reduce API calls - Use authenticated API access (via
gh auth loginorglab auth login) - Wait for rate limit to reset (usually 1 hour)
Debug Logging
Enable debug logging
For detailed troubleshooting information: Command-line flag:- Git command execution and output
- API requests and responses
- File operations and trust checks
- Configuration loading and validation
View debug output
Debug logs are written to stderr. Capture them:Permission Issues
Permission denied when executing .wt files
.wt files must be executable:
Permission denied on trusted.json
The trust database requires read/write access:Cannot create worktree: permission denied
Check permissions on yourworktree_dir:
Common Error Messages
”worktree already exists”
A worktree with that name already exists. Either:- Choose a different name
- Remove the existing worktree first:
- Use LazyWorktree’s delete function (usually
dkey)
Invalid reference errors
The branch name contains invalid characters. LazyWorktree sanitises names automatically, but if you see this:- Avoid special characters:
*,?,[,],~,^,:,\\ - Don’t use Git-reserved names:
HEAD,refs/,-,@ - Check for double dots:
..
”fatal: not a git repository”
You’re not in a Git repository. LazyWorktree requires:“failed to create worktree: disk full”
No disk space available. Check free space:worktree_dir on another volume:
“failed to fetch: authentication failed”
Git cannot authenticate with the remote. Set up SSH keys or credential helper:Configuration Issues
Config file not loading
LazyWorktree searches for config in this order:.lazyworktree.yml(repository root)~/.config/lazyworktree/config.yml(global)
Invalid configuration value
Check for:- Typos in option names
- Invalid values (e.g., negative numbers for
ci_auto_refresh) - Incorrect indentation (YAML is whitespace-sensitive)
Worktree Management Issues
Worktree stuck in “locked” state
Git locks worktrees during operations. If a lock persists after a crash:Worktree deleted but still appears
LazyWorktree caches worktree lists. Refresh:- Press refresh keybinding (default:
r) - Restart LazyWorktree
- Run
git worktree pruneto clean up stale entries:
Cannot delete main worktree
Git doesn’t allow deleting the main worktree (the original repository clone). This is expected behaviour.Performance Issues
LazyWorktree slow to start
Possible causes:- Large repository - First load scans all worktrees and refs
- Slow network - Fetching PR/MR data takes time
- Too frequent CI refresh - Increase
ci_auto_refreshinterval:
UI feels sluggish
Try:-
Disable PR fetching if not needed:
-
Reduce auto-refresh frequency:
- Use a terminal with good rendering performance (e.g., Alacritty, Kitty, WezTerm)
Getting More Help
Check the documentation
Check the documentation
Browse the complete LazyWorktree documentation for detailed guides:
Search existing issues
Search existing issues
Check if your problem is already reported:
- GitHub Issues: https://github.com/chmouel/lazyworktree/issues
Ask the community
Ask the community
Join discussions or ask questions:
- GitHub Discussions: https://github.com/chmouel/lazyworktree/discussions
Report a bug
Report a bug
If you’ve found a bug, report it with:
- LazyWorktree version:
lazyworktree --version - Git version:
git --version - Operating system and terminal
- Debug logs:
lazyworktree --debug-log 2> debug.log - Steps to reproduce
Related Pages
- TOFU Security - Trust on First Use troubleshooting
- AI Integration - AI feature issues
- Configuration Reference - All configuration options