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
Open the Command Palette (Cmd+Shift+P or Ctrl+Shift+P).
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
(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.