Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Git Update & Push ButtonsNew to Visual Studio Code? Get it now.
Git Update & Push Buttons

Git Update & Push Buttons

Danbh

|
9 installs
| (3) | Free
Add status bar buttons for Git update (reset/pull) and push operations
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Update & Push Buttons

This Visual Studio Code extension adds two convenient status bar buttons to simplify Git operations: "Git Update" and "Git Push".

Features

  • Git Update: Resets the current branch to match the remote, cleans untracked files, and pulls the latest changes.
  • Git Push: Adds, commits, and pushes changes. If no repository exists, it attempts to initialize one and set up a remote (with GitHub CLI support).

Installation

  1. Download the .vsix file from the GitHub repository.
  2. Open Visual Studio Code.
  3. Go to the Extensions view (Ctrl+Shift+X).
  4. Click on the "..." menu in the top-right corner and select "Install from VSIX...".
  5. Select the downloaded .vsix file to install the extension.

Usage

  1. Open your project folder in Visual Studio Code.
  2. Use the following buttons in the status bar:
    • Git Update: Click to reset the current branch to the latest state in the remote repository.
    • Git Push: Click to add, commit, and push changes to the remote repository.

Prerequisites

  • Git: Ensure Git is installed and configured on your system.
  • GitHub CLI: Install the GitHub CLI (gh) for repository creation and remote setup.
  • Authentication: Set up SSH keys or a personal access token for GitHub.

Troubleshooting

  • Git Update fails: Ensure the current branch is tracking a remote branch.
  • Git Push fails: Verify that the repository is initialized and a remote is set up. If the GitHub CLI fails, manually configure the remote.
  • GitHub CLI not found: Install the GitHub CLI and ensure it is in your system's PATH.

Demo

Extension Demo

License

This extension is licensed under the MIT License. See the LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft