Git Panel
The Git Panel provides a visual overview of your repository's state, including branch info, changes, and diffs.
Opening the Git Panel
- Press
Cmd+Shift+G/Ctrl+Shift+G - Click the Git icon in the session header
Features
Branch Info
- Shows the current branch name
- Displays tracking information (ahead/behind remote)
Changes View
- Staged files, files added to the staging area
- Unstaged files, modified files not yet staged
- Untracked files, new files not tracked by git
Diff Viewer
Click any changed file to see its diff:
- Additions highlighted in green
- Deletions highlighted in red
- Syntax highlighting in the diff view
- Line numbers for both old and new versions
Commit History
- Recent commits with author, message, and timestamp
- Commit hash display
Using Git with PandaOS
You don't need the Git Panel to use git, PandaOS can run git commands directly. Ask PandaOS to:
- "Commit these changes with a good message"
- "Create a new branch called feature/auth"
- "Show me the diff for the last commit"
- "Push to origin"
PandaOS also includes an AI commit message generator, when committing through PandaOS, it can automatically generate descriptive commit messages based on the staged changes.