GitPlus — Extended Git Utilities for VS Code
A lightweight extension that adds essential Git features missing from the default VS Code experience.
🚀 Features (Current)
1. Rename Last Commit Message
Quickly update the most recent commit message without touching staging or other changes.
How to use:
- Open the Command Palette →
GitPlus: Rename Last Commit Message
- Enter your updated message
- Confirm and the last commit will be amended safely
⚠️ Only affects the latest commit (HEAD). Renaming older commits is not supported (yet).
🚧 Coming Soon
We're actively building more powerful Git utilities to make your workflow smoother. Stay tuned for upcoming features including file history tracking, advanced diff views, and more. Your feedback helps shape what comes next!
🔧 Requirements
- Git installed on your system
- A workspace folder that is already a Git repository
📦 Installation
- Open the VS Code Marketplace
- Search for
GitPlus
- Click Install
🧩 Commands Overview
| Command |
Description |
GitPlus: Rename Last Commit Message |
Amend the latest commit message |
💬 Feedback & Suggestions
GitPlus is evolving. If you have ideas for missing Git features or UX improvements, feel free to share them.
🛠️ Development
Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- TypeScript
- VS Code (for testing)
Setup
# Install dependencies
npm install
# Compile TypeScript to JavaScript
npm run compile
Testing Locally
Option 1: Using VS Code Debugger (Recommended)
- Open this project in VS Code
- Press
F5 or go to Run and Debug → Run Extension
- A new VS Code window will open (Extension Development Host)
- In the new window:
- Open a folder that is a Git repository
- Test the commands:
- Command Palette (
Cmd+Shift+P / Ctrl+Shift+P) → Type "Rename Last Commit Message" or "Show File History"
- Source Control → Look for the "Rename Last Commit Message" button in the title bar
- File Explorer → Right-click a file → "Show File History"
Option 2: Using Watch Mode
- In one terminal, start watch mode:
npm run watch
- Press
F5 in VS Code to launch Extension Development Host
- Make changes to the code - TypeScript will auto-compile
- Reload the Extension Development Host window (
Cmd+R / Ctrl+R) to see changes
Testing Checklist
- ✅ Test "Rename Last Commit Message" command
Build
npm run compile
Watch Mode
npm run watch
Package Extension
# Install vsce globally (if not already installed)
npm install -g @vscode/vsce
# Package the extension
vsce package
This creates a .vsix file that can be installed manually or published to the marketplace.
📝 License
MIT