Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CodeGitNew to Visual Studio Code? Get it now.
CodeGit

CodeGit

TooBug

|
2 installs
| (0) | Free
Git commands and operations via Editor View, inspired by SublimeGit
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodeGit

CodeGit is a VS Code extension that brings the Git workflow from SublimeGit to Visual Studio Code. It allows you to manage your Git repository directly from an editor view, providing a fast and keyboard-centric interface.

Features

  • Status View: View staged, unstaged, and untracked files.
  • Keyboard Shortcuts: Perform common Git operations (stage, unstage, discard, commit, diff) using single-key shortcuts in the status view.
  • Log View: View the commit history graph.
  • Branch Management: Easily switch between branches.

Usage

  1. Open the Command Palette (Cmd+Shift+P or Ctrl+Shift+P).
  2. Run CodeGit: Status to open the status view.

Status View Operations

In the CodeGit Status editor, use the following keys:

  • s: Stage the file under the cursor.
  • u: Unstage the file under the cursor.
  • x: Discard changes for the file under the cursor.
  • c: Commit staged changes (prompts for a commit message).
  • d: View diff for the file under the cursor.

Other Commands

  • CodeGit: Log: Show the commit history.
  • CodeGit: Branch: Switch branches.

Screenshots

Status View (Placeholder for Status View Screenshot)

License

This project is licensed under the MIT License.

Acknowledgements

This extension is a fork/migration of the popular SublimeGit plugin for Sublime Text, adapted for VS Code.

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