Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Core Commands

Essential commands for daily MediaGit workflows.

Commands

  • init - Initialize a new repository
  • add - Stage files for commit
  • commit - Create a commit from staged changes
  • status - Show working tree status
  • log - Show commit history
  • diff - Show differences between versions
  • show - Show object details (commits, blobs, trees)

Typical Workflow

# Initialize repository
mediagit init

# Stage files
mediagit add large-file.psd

# Create commit
mediagit commit -m "Add initial PSD file"

# Check status
mediagit status

# View history
mediagit log