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.
- 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.
- Open the Command Palette (
Cmd+Shift+PorCtrl+Shift+P). - Run
CodeGit: Statusto open the status view.
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.
CodeGit: Log: Show the commit history.CodeGit: Branch: Switch branches.
(Placeholder for Status View Screenshot)
This project is licensed under the MIT License.
This extension is a fork/migration of the popular SublimeGit plugin for Sublime Text, adapted for VS Code.