Repository Not Detected
Git Graph doesn't show my repository
Git Graph doesn't show my repository
Symptoms:
- No repositories appear in the dropdown
- “No Git repository was found” message
- Git Graph status bar item is missing
Verify Git repository
Ensure you’ve opened a folder that contains a If
.git directory:.git doesn’t exist, initialize a repository:Check workspace folders
Open the Command Palette and run Workspaces: Add Folder to Workspace if your repository is in a subfolder.Neo-git-graph only searches workspace root folders by default.
Increase search depth
For nested repositories, increase the search depth in settings:
0(default): Only searches workspace root folders1: Searches one level deep2+: Searches deeper levels
Git Path Issues
Git command not found
Git command not found
Symptoms:
- Error: “Git could not be found”
- Commands fail silently
- Empty graph view
Verify Git installation
Check if Git is installed:If not installed:
- macOS:
brew install gitor download from git-scm.com - Linux:
sudo apt install gitorsudo yum install git - Windows: Download from git-scm.com
Configure git.path
If Git is installed but not in PATH, specify the full path:Settings (JSON):Common Git locations:
- macOS:
/usr/local/bin/gitor/opt/homebrew/bin/git - Linux:
/usr/bin/git - Windows:
C:\\Program Files\\Git\\cmd\\git.exe
Neo-git-graph uses VS Code’s
git.path setting. If the built-in Source Control works, neo-git-graph should work too.Git path with spaces
Git path with spaces
Symptom: Git installed in a path with spaces (e.g., Neo-git-graph automatically wraps paths with spaces in quotes when executing commands.
C:\Program Files\Git) doesn’t workSolution:Ensure the path is properly quoted in settings:Performance Issues
Git Graph is slow or freezes
Git Graph is slow or freezes
Symptoms:Disable uncommitted changes:
For large repositories, checking uncommitted changes can be slow:Disable avatars:
Fetching avatars requires network requests:Filter to current branch:
Show only the current branch by default:
- Graph takes a long time to load
- VS Code becomes unresponsive
- High CPU usage
Graph doesn't update after commits
Graph doesn't update after commits
Symptom: New commits don’t appear in the graphSolutions:
- Click the Refresh button in the Git Graph view
- The graph auto-refreshes when you commit through VS Code’s Source Control
- Manual Git commands (terminal) may require manual refresh
Display Issues
Graph looks broken or misaligned
Graph looks broken or misaligned
Solutions:Try different graph styles:Options: Change tab icon:
For grayscale themes:
"rounded" (default) or "angular"Adjust graph colors:
Some color themes may conflict with graph colors:Dates are displayed incorrectly
Dates are displayed incorrectly
Solution:Change the date format:Date format options:
"Date & Time"- “19 Mar 2019 21:34”"Date Only"- “19 Mar 2019”"Relative"- “5 minutes ago”
"Author Date"- When the commit was originally authored"Commit Date"- When the commit was applied (relevant for rebases/cherry-picks)
Devcontainer Issues
Git Graph doesn't work in devcontainer
Git Graph doesn't work in devcontainer
See the Devcontainer Setup guide for detailed troubleshooting.Quick checks:
- Git installed in container:
git --version - Extension installed in container (not locally)
- Repository accessible in container filesystem
- Check
git.pathif Git is in non-standard location
Avatar Issues
Avatars not showing
Avatars not showing
Symptoms:
- No profile pictures in the graph
- Generic icons instead of avatars
Check network connectivity
Avatars require internet access to fetch from:
- GitHub API
- GitLab API
- Gravatar
General Troubleshooting Steps
If you’re experiencing issues not covered above:Check VS Code output
Open the Output panel (
View → Output) and select Git from the dropdown.Look for error messages related to Git commands.Test with built-in Git
Verify VS Code’s built-in Source Control works:
- Open the Source Control view (
Ctrl+Shift+G) - Check if it detects your repository
- Try making a commit
Reset extension settings
Reset neo-git-graph settings to defaults:
- Open Settings (
Ctrl+,) - Search for
neo-git-graph - Click the gear icon → Reset Setting on each setting
- Reload VS Code window
Check for extension conflicts
Disable other Git extensions temporarily to rule out conflicts:
- GitLens
- Git History
- Other Git visualization tools
Report the issue
If the problem persists, report it on GitHub:github.com/asispts/neo-git-graph/issuesInclude:
- VS Code version
- neo-git-graph version
- Operating system
- Error messages from Output panel
- Steps to reproduce
Getting Help
GitHub Issues
Report bugs and request features
Contributing
Help improve neo-git-graph