A smart Git pull utility extension for VS Code and Antigravity IDE that enables users to select remote or local branches to pull and rebase, with automatic workspace stashing and popping logic to ensure safe conflicts resolution.
Features
- Fetch & Pick Branch: Fetches all branches and shows a quick-select prompt in the sidebar.
- Smart Pull Strategies:
- Standard Pull: Runs standard
git pull. - Pull with Rebase: Rebases your local commits cleanly on top of the target branch.
- Stash → Rebase → Pop: Safely stashes uncommitted local changes, pulls with rebase, and pops the stash automatically. Recommended for safe conflicts resolution!
- Standard Pull: Runs standard
- Smart Push Strategies & Auto-Commit:
- Standard Push: Pushes your active branch to the target remote.
- Safe Force Push (
--force-with-lease): Safely force-pushes branch history updates without risk of overwriting others' work. - Push & Set Upstream (
-u): Tracks your local branch on the remote. - Workspace Auto-Commit: Stage (
git add -A) and commit uncommitted local changes automatically before pushing. - AI Commit Messages: Automatically analyzes git diffs to generate clear commit messages using VS Code's native Language Model API (e.g. GitHub Copilot's GPT-4o), with a robust local file-stat diff fallback.
- Safe Syncing: Optionally stashes local changes, pulls/rebases from the remote branch, pops your stash, and then stages/commits/pushes to keep history linear.
- Dynamic UI Cleanup: Automatically hides the "Push Target Remote" selection dropdown if only one remote (e.g.
origin) is configured. - Logging: Detailed execution logs output to the dedicated
GenVPulleroutput channel and in the sidebar console.
Installation
This extension can be installed directly from the marketplaces:
- VS Code Marketplace: Search for
GenVPullerormmotsugen-vpullerin the Extensions view inside VS Code. - Open VSX Registry: Search for
GenVPullerormmotsugen-vpullerinside Antigravity IDE, VSCodium, or Open VSX-based editors.
Development and Setup
Prerequisites
- Node.js installed.
- Antigravity IDE or VS Code.