Git Viz - VS Code Extension
A Visual Studio Code extension for visualizing git repositories with interactive graphs and commit history.
Features
- 📊 Commit History Visualization - Interactive timeline of commits
- 🌳 Branch Graph Display - Visual representation of branch relationships
- 📁 File Change Tracking - Track modifications across commits
- 🔍 Interactive Git Log - Enhanced git log with visual elements
Installation
From VS Code Marketplace (Recommended)
- Open VS Code
- Go to the Extensions view (
Ctrl+Shift+X )
- Search for "Git Viz"
- Click Install
From Source (Development)
- Clone this repository
- Run
npm install to install dependencies
- Press
F5 to open a new Extension Development Host window
- The extension will be loaded in the new window
Usage
- Open a git repository in VS Code
- Right-click in the Explorer panel
- Select "Open Git Viz" from the context menu
- The Git Visualization panel will open with interactive features
Development
Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- Visual Studio Code
Setup
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes
npm run watch
# Run linting
npm run lint
Building
# Build the extension
npm run compile
# Package the extension
vsce package
Commands
Git Viz: Open - Opens the Git Visualization panel
Configuration
The extension automatically detects git repositories and provides visualization features based on the current workspace.
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you encounter any issues or have feature requests, please open an issue on GitHub.
| |