Skip to content

Quick Start Guide

Welcome to OpenCodeHub! This guide will help you get started in minutes.

Navigate to your instance URL (e.g., http://localhost:4321) and log in with the admin credentials you created during installation.

  1. Click the + icon in the top navigation bar
  2. Select New Repository
  3. Enter a name (e.g., my-project)
  4. Choose visibility: Public or Private
  5. Optionally initialize with a README
  6. Click Create Repository
Terminal window
# Clone your new repository
git clone https://git.yourcompany.com/your-username/my-project.git
cd my-project
# Add your code
echo "# My Project" > README.md
git add .
git commit -m "Initial commit"
git push -u origin main

Or use SSH:

Terminal window
git clone ssh://git@your-server:2222/your-username/my-project.git

Your dashboard shows:

  • Recent Repositories you’ve worked on
  • Pull Requests requiring your attention
  • Stacked PRs if you’re using the stack workflow
  • Activity Feed from your team
  1. Navigate to your repository
  2. Click Pull RequestsNew Pull Request
  3. Select source and target branches
  4. Add a title and description
  5. Click Create Pull Request

See First Repository for a complete walkthrough.

Break large changes into reviewable stacks:

Terminal window
# Install the CLI
npm install -g opencodehub-cli
# Login
och auth login
# Create a stacked branch
och stack create feature/part-1
# Make changes, commit, push
och stack submit

Enable in SettingsAI Review. Configure your preferred provider (OpenAI, Anthropic, etc.) and AI will automatically review PRs for bugs and security issues.

Add PRs to the merge queue from the PR page. The queue ensures main never breaks by running CI on the merged result before pushing.

Create .github/workflows/*.yml files in your repository. OpenCodeHub uses GitHub Actions-compatible syntax.

Terminal window
npm install -g opencodehub-cli
# Authenticate
och auth login --url https://git.yourcompany.com
# Check status
och status

See CLI Overview for all commands.