Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.05 KB

File metadata and controls

32 lines (21 loc) · 1.05 KB

Auto Pull Extension

A VS Code extension that automatically performs a git pull when VS Code starts.

Features

  • Automatic Pull on Start: Automatically executes git pull when VS Code starts
  • Safety Check: Warns about uncommitted changes before performing the pull
  • Manual Pull: Provides a command for manual git pulls
  • Smart Detection: Automatically detects Git repositories and current branches

How it works

  1. When VS Code starts, the extension automatically checks if you're in a Git repository
  2. If yes, it determines the current branch and executes git pull
  3. If there are uncommitted changes, a warning is displayed
  4. The pull is only performed when the workspace is clean

Usage

  1. Open a Git repository in VS Code
  2. The extension automatically performs git pull on startup
  3. If desired, you can use the manual command auto-pull.pullLatest

Commands

  • auto-pull.pullLatest: Manually execute a git pull

Requirements

  • Git must be installed and configured on the system
  • The repository must have a remote origin