Skip to Content
WorkspaceSource Control

Source Control

Blueberry includes built-in Git integration with staging, commits, and a visual diff viewer.

Source Control Panel

Access the Source Control panel from the sidebar to see all your changes.

File States

IconState
MModified
AAdded (new file)
DDeleted
UUntracked

Actions

  • Stage - Click the + button to stage a file
  • Unstage - Click the - button to unstage
  • Discard - Revert changes to last commit
  • View Diff - Click a file to see the diff

Staging Changes

Stage Individual Files

Click the + button next to any changed file to stage it.

Stage All

Click “Stage All” to stage all changes at once.

Partial Staging

The diff viewer shows individual hunks that can be staged separately.

Committing

  1. Stage your changes
  2. Enter a commit message in the text field
  3. Click “Commit” or press Cmd+Enter

Commit Message Tips

  • Keep the first line under 50 characters
  • Use present tense (“Add feature” not “Added feature”)
  • Reference issue numbers if applicable

Diff Viewer

The side-by-side diff viewer shows original vs. current content:

Features

  • Line numbers with diff indicators
  • Syntax coloring in both panes
  • Scroll sync between panes
  • Full-screen view for detailed review

Reading Diffs

  • Red background - Removed lines
  • Green background - Added lines
  • Yellow background - Modified lines

Git Gutter

The editor shows live git status in the left margin:

  • 🟢 Green - New lines
  • 🔵 Blue - Modified lines
  • 🔴 Red - Deleted lines

Hover over the gutter to see the original content.

Branch Management

View your current branch in the status bar. Branch switching is available through the terminal.

Keyboard Shortcuts

ActionShortcut
Open Source ControlCmd+Shift+G
Stage selectedCmd+Enter (in diff view)
CommitCmd+Enter (in message field)
Last updated on