Complete reference guide for Cascade CLI commands, workflows, and advanced usage.
A stack is a logical grouping of related commits that represent incremental progress toward a larger feature or fix. Each commit in the stack can be submitted as a separate pull request while maintaining dependencies.
📚 Stack: "user-authentication"
├── Commit 1: "Add login endpoint" → PR #123
├── Commit 2: "Add password validation" → PR #124 (depends on #123)
└── Commit 3: "Add password reset" → PR #125 (depends on #124)
- Faster Reviews: Small, focused PRs are easier to review
- Parallel Development: Work on multiple features simultaneously
- Better Quality: Incremental feedback improves code quality
- Reduced Conflicts: Frequent integration prevents merge hell
- Create - Initialize a new stack with a base branch
- Push - Add commits to the stack
- Submit - Create pull requests for stack entries
- Sync - Update stack when dependencies change
- Pop - Remove completed entries from the stack
Initialize Cascade CLI in a Git repository.
ca init [OPTIONS]
# Options:
--bitbucket-url <URL> # Bitbucket Server URL
--project <PROJECT> # Project key
--repository <REPO> # Repository name
--force # Overwrite existing configurationExamples:
# Interactive initialization
ca init
# Manual configuration
ca init --bitbucket-url https://bitbucket.company.com --project DEV --repository my-app
# Force reconfiguration
ca init --forceGuided configuration for first-time users.
ca setup [OPTIONS]
# Options:
--force # Force reconfiguration if already initializedFeatures:
- Auto-detects Git remotes
- Configures Bitbucket settings
- Tests connections
- Installs shell completions
- Validates Personal Access Tokens
Create a new stack for organizing related commits.
ca stacks create <NAME> [OPTIONS]
# Options:
--base <BRANCH> # Base branch (default: current branch)
--description <DESC> # Stack description
--activate # Activate after creation (default: true)Examples:
# Basic stack creation
ca stacks create feature-auth --base develop
# With description
ca stacks create fix-performance --base main --description "Database query optimizations"
# Create without activating
ca stacks create future-feature --base develop --no-activateDisplay all stacks with their status and information.
ca stacks list [OPTIONS]
# Options:
--verbose, -v # Show detailed information
--active # Show only active stack
--format <FORMAT> # Output format (name, id, status)Examples:
# Simple list
ca stacks list
# Detailed view
ca stacks list --verbose
# Only active stack
ca stacks list --active
# Custom format
ca stacks list --format statusShow detailed information about a specific stack.
ca stack [NAME]
# Arguments:
[NAME] # Stack name (defaults to active stack)Output includes:
- Stack metadata (name, description, base branch)
- All stack entries with commit details
- Pull request status and links
- Dependency information
Switch to a different stack, making it the active stack.
ca switch <NAME>
# Arguments:
<NAME> # Stack name to activateExamples:
ca switch feature-auth
ca switch fix-bugsDelete a stack and optionally its associated branches.
ca stacks delete <NAME> [OPTIONS]
# Options:
--force # Skip confirmation prompt
--keep-branches # Keep associated branchesExamples:
# With confirmation
ca stacks delete old-feature
# Force deletion
ca stacks delete temp-stack --force
# Delete but keep branches
ca stacks delete feature-x --keep-branchesCascade CLI provides modern convenience commands for editing specific stack entries without manual Git operations.
Checkout a specific stack entry for editing with intelligent tracking.
ca entry checkout [ENTRY] [OPTIONS]
# Arguments:
[ENTRY] # Entry number (1-based index)
# Options:
--direct # Skip interactive picker when using entry number
--yes, -y # Skip confirmation promptsExamples:
# Interactive picker (recommended)
ca entry checkout
# Shows TUI interface to select which entry to edit
# Direct checkout
ca entry checkout 1 # Checkout first entry
ca entry checkout 3 --yes # Skip confirmation
# Direct mode (for scripting)
ca entry checkout 2 --direct --yesWhat it does:
- ✅ Enters edit mode tracking for safety
- ✅ Checks out the specific commit safely
- ✅ Preserves stack state and metadata
- ✅ Shows clear guidance for next steps
Show current edit mode status and guidance.
ca entry status [OPTIONS]
# Options:
--quiet # Brief status output (for scripts)Examples:
# Detailed status
ca entry status
# Brief output
ca entry status --quiet
# Output: "active:entry-uuid" or "inactive"List all entries in the active stack with edit status indicators.
ca entry list [OPTIONS]
# Options:
--verbose, -v # Show detailed informationExamples:
# Basic list with edit indicators
ca entry list
# Detailed view
ca entry list --verbose🎯 Modern Entry Editing Workflow:
# 1. Select entry to edit
ca entry checkout # Interactive picker
# 2. Make changes normally
# (changes are auto-staged)
# 3. Amend the entry (automatic restacking!)
ca entry amend -m "Add database schema (fixed column types)"
# 4. Verify changes
ca entry list # Check updated status
ca stack # See full stack state💡 Benefits over Manual Git:
- Safety: Tracks edit state, prevents corruption
- Convenience: No need to remember commit hashes
- Intelligence: Interactive picker with rich information
- Guidance: Clear next steps and status tracking
- Automatic: Dependent entries are rebased automatically
Amend the current stack entry's commit and automatically rebase all dependent entries onto the new commit.
Synopsis:
ca entry amend [OPTIONS]Options:
-m, --message <MESSAGE>- New commit message (optional, uses editor if not provided)--push- Automatically force-push after amending (if PR exists)
How It Works:
- Automatically stages all modified tracked files (like
git commit -a --amend) - Amends the current entry's commit
- Automatically rebases all dependent entries onto the amended commit
- Updates working branch to top of stack
- Updates stack metadata
Examples:
# Amend with new message
ca entry amend -m "Fixed validation logic"
# Amend and open editor for message
ca entry amend
# Amend and push to PR
ca entry amend --push
# Just amend (keeps same message)
ca entry amendImportant Notes:
- ✅ Automatic restacking: No need to run
ca sync- dependent entries are updated automatically - ✅ Auto-staging: All modified tracked files are included (no need for
git add) - ✅ Safety: If conflicts occur, you'll get clear recovery instructions
⚠️ Must be on stack entry: Useca entry checkout <N>first
Conflict Resolution: If dependent entries have conflicts during automatic restacking:
# Cascade pauses and shows:
# "Failed to restack entry #4: conflicts"
# 1. Resolve conflicts in your editor
# 2. Continue the restack
ca entry continue
# Or abort and undo changes
ca entry abortContinue an in-progress restack after manually resolving conflicts from ca entry amend.
Synopsis:
ca entry continueWhen to Use:
- After
ca entry amendhits conflicts during automatic restacking - After resolving all conflict markers in your editor
What It Does:
- Auto-stages resolved conflict files
- Completes the cherry-pick (bypassing hooks)
- Updates entry branch pointer to new commit
- Updates stack metadata
- Cleans up temporary branches
- Leaves you on the resolved entry branch
Example Workflow:
# Amend entry #3
ca entry checkout 3
ca entry amend -m "Updated schema"
# Conflict on entry #4!
# Error: Failed to restack entry #4: conflicts
# Resolve conflicts
vim src/models.rs # Fix conflict markers
git status # Check what needs resolving
# Continue
ca entry continue
# Complete the stack
ca syncNext Steps After Continue:
- Run
ca syncto finish rebasing remaining entries - Run
ca validateto verify stack consistency
Abort an in-progress restack and undo partial changes from ca entry amend.
Synopsis:
ca entry abortWhen to Use:
- After
ca entry amendhits conflicts you can't resolve - When you want to undo a failed restack attempt
- To get back to a clean state
What It Does:
- Aborts the cherry-pick (bypassing hooks)
- Cleans up temporary branches
- Returns you to a clean Git state
- Stack may be partially inconsistent
Example:
# Amend hits conflicts
ca entry amend -m "Major refactor"
# Error: Failed to restack entry #4: conflicts
# Decide to abort instead of resolving
ca entry abort
# Check and fix stack state
ca validate
# Choose "Reset" or "Incorporate" as neededAfter Aborting:
- Run
ca validateto check stack state - Fix any inconsistencies (usually choose "Reset")
- Try a different approach or smaller changes
Add commits to the active stack. By default, pushes all unpushed commits.
ca push [OPTIONS]
# Options:
--branch <NAME> # Custom branch name for this commit
--message <MSG> # Commit message (if creating new commit)
--commit <HASH> # Use specific commit instead of HEAD
--since <REF> # Push commits since reference (e.g., HEAD~3)
--commits <HASHES> # Push specific commits (comma-separated)
--squash <N> # 🎉 Squash last N commits into 1 clean commit
--squash-since <REF> # 🎉 Squash all commits since reference
--yes, -y # Skip confirmation prompts
--dry-run # Preview commits without pushingStale Base Detection: When the base branch has moved forward since your branch diverged, ca push warns you and suggests rebasing first. Use --yes to skip this check.
Commit Confirmation: Before pushing, ca push shows a numbered list of commits with authors. Commits from other authors are highlighted. The default confirmation is yes for same-author commits and no for mixed-author commits. Use --yes to skip confirmation.
Default Behavior: When no specific targeting options are provided, ca push pushes all unpushed commits since the last stack push.
Squash Workflow Examples:
# Make incremental commits during development
git commit -m "WIP: start feature"
git commit -m "WIP: add core logic"
git commit -m "WIP: fix bugs"
git commit -m "Final: complete feature with tests"
# 🔍 See unpushed commits and get squash suggestions
ca stack
# 🚧 Unpushed commits (4): use 'ca stacks push --squash 4' to squash them
# 1. WIP: start feature (abc123)
# 2. WIP: add core logic (def456)
# 3. WIP: fix bugs (ghi789)
# 4. Final: complete feature with tests (jkl012)
# 💡 Squash options:
# ca stacks push --squash 4 # Squash all unpushed commits
# ca stacks push --squash 3 # Squash last 3 commits only
# 🎉 Smart squash automatically detects "Final:" commits and creates intelligent messages
ca stacks push --squash 4
# ✅ Smart message: Complete feature with tests (automatically extracted from "Final:" commit)
# Alternative patterns that smart squash recognizes:
git commit -m "WIP: authentication work"
git commit -m "Add user authentication with OAuth" # Uses this descriptive message
ca stacks push --squash 2 # Result: "Add user authentication with OAuth"
git commit -m "fix typo"
git commit -m "fix bug"
git commit -m "refactor cleanup"
ca stacks push --squash 3 # Result: "Refactor cleanup" (uses last commit)Branch Naming: Generated from final squashed commit message using Cascade CLI's branch naming rules.
Examples:
# Push all unpushed commits (default behavior)
git commit -m "Add user authentication"
git commit -m "Add password validation"
ca stacks push # Pushes both commits as separate stack entries
# Push specific commit only
ca stacks push --commit abc123
# Push commits since specific reference
ca stacks push --since HEAD~3
# Push specific commits
ca stacks push --commits abc123,def456,ghi789
# Push with custom branch name
ca stacks push --branch custom-auth-branch
# Squash multiple commits before pushing
ca stacks push --squash 3 # Squashes last 3 commits into one
# Squash commits since reference
ca stacks push --squash-since HEAD~5Remove the top entry from the stack.
ca stacks pop [OPTIONS]
# Options:
--keep-branch # Keep the associated branch
--force # Skip confirmationExamples:
# Remove top entry
ca pop
# Keep the branch
ca pop --keep-branch
# Force removal
ca pop --forceRemove one or more stack entries by position. Unlike ca pop which only removes the top entry, ca drop can remove any entry and supports ranges.
ca drop <ENTRY> [OPTIONS]
# Arguments:
<ENTRY> # Position or range (e.g., "3", "1-5", "1,3,5")
# Options:
--keep-branch # Keep the associated branch(es)
--keep-pr # Keep the PR open on Bitbucket (don't decline it)
--force, -f # Skip all prompts (declines PRs, deletes branches)
--yes, -y # Skip entry confirmation promptBehavior:
- Removes entries and reparents any children to the removed entry's parent
- Refuses to drop merged entries (use
ca stacks cleanupinstead) - Deletes associated branches unless
--keep-branchis specified - Declines associated Bitbucket PRs unless
--keep-pris specified --forcedoes everything without prompting; combine with--keep-pror--keep-branchto protect specific resources
Examples:
# Remove a single entry
ca drop 3
# Remove a range of entries
ca drop 1-5
# Remove specific entries
ca drop 1,3,5
# Remove entry but keep its branch
ca drop 3 --keep-branch
# Remove entry but leave PR open
ca drop 3 --keep-pr
# Skip all prompts (declines PRs and deletes branches)
ca drop 3 --force
# Skip prompts but keep PRs open
ca drop 3 --force --keep-prSubmit stack entries as pull requests. By default, submits all unsubmitted entries.
ca submit [ENTRY] [OPTIONS]
# Arguments:
[ENTRY] # Entry index (defaults to all unsubmitted entries)
# Options:
--title <TITLE> # PR title override
--description <DESC> # PR description
--range <RANGE> # Submit range of entries (e.g., "1-3" or "2,4,6")
--no-draft # Create as ready PR (default is draft)
--no-open # Don't open PR in browser (default opens)
--reviewers <USERS> # Comma-separated reviewer listDefault Behavior: When no specific entry is provided, ca submit submits all unsubmitted entries as separate pull requests.
Examples:
# Submit all unsubmitted entries (default behavior)
ca submit
# Submit specific entry
ca submit 2
# Submit range of entries
ca submit --range 1-3
# Submit specific entries
ca submit --range 2,4,6
# Submit with custom details
ca submit --title "Add OAuth integration" --description "Implements Google OAuth2 flow"
# Create ready (non-draft) PRs
ca submit --no-draft
# Submit without opening browser
ca submit --no-open
# Add reviewers
ca submit --reviewers "alice,bob,charlie"Update stack with latest changes from base branch and dependencies.
ca sync [OPTIONS]
# Options:
--force # Force sync even with conflicts
--interactive # Interactive mode for conflict resolution
--cleanup # Also cleanup merged branches after syncExamples:
# Standard sync (uses force-push strategy to preserve PR history)
ca sync
# Force sync with conflicts
ca sync --force
# Interactive mode for manual conflict resolution
ca sync --interactive
# Sync and cleanup merged branches
ca sync --cleanupConflict Resolution:
If ca sync encounters conflicts it cannot auto-resolve:
# After ca sync reports conflicts:
# 1. Resolve conflicts manually
git add <resolved-files>
# 2. Continue the sync
ca sync continue
# OR abort the sync
ca sync abortContinue an in-progress sync after manually resolving conflicts.
ca sync continueWhen to use:
- After
ca synchits conflicts during rebase - After you've resolved conflicts and staged changes with
git add
What it does:
- Completes the current cherry-pick
- Updates stack metadata
- Re-enters the sync loop to process remaining entries
- Cleans up temporary branches
- Returns you to your original branch
Example:
ca sync # Hits conflict on entry #2
# Resolve conflicts...
vim conflict.txt
git add conflict.txt
ca sync continue # Continues with entries #3, #4, #5...Abort an in-progress sync and clean up temporary state.
ca sync abortWhen to use:
- After
ca synchits conflicts you can't resolve - When you want to start over with a fresh sync
- To recover from a stuck sync state
What it does:
- Aborts the current cherry-pick
- Cleans up all temporary branches
- Returns you to your original branch
- Deletes sync state file
Example:
ca sync # Hits complex conflicts
# Decide to abort and try a different approach
ca sync abort
# Now you're back to clean state
ca sync --interactive # Try with interactive modeRebase all stack entries on latest base branch using smart force push strategy (industry standard).
ca rebase [OPTIONS]
# Options:
--interactive # Interactive rebase mode for manual conflict resolution
--onto <branch> # Rebase onto specific branch (defaults to stack's base)
--strategy <strategy> # Rebase strategy: force-push (default) or interactiveSmart Force Push Behavior: When rebasing, Cascade CLI uses the industry-standard approach:
- Creates temporary branches for rebasing (
feature-temp-123456) - Cherry-picks commits onto the new base
- Force-pushes temp content to original branches (
feature) - Preserves ALL existing PRs and review history
- Cleans up temporary branches automatically
This approach follows industry standards (Graphite, Phabricator, spr, GitHub CLI) and ensures reviewers never lose context, comments, or approval history. Branch names stay the same, so PRs remain intact.
Examples:
# Standard rebase with PR history preservation
ca rebase
# Interactive rebase
ca rebase --interactive
# Rebase onto specific branch
ca rebase --onto develop
# Using stacks subcommand (equivalent)
ca stacks rebase
ca stacks rebase --interactiveConflict Resolution: If rebase encounters conflicts:
# After ca rebase reports conflicts:
# 1. Resolve conflicts manually
git add <resolved-files>
# 2. Continue the rebase
ca rebase continue
# OR abort the rebase
ca rebase abortWhat you'll see:
$ ca stacks rebase
🔄 Rebasing stack: authentication
📋 Rebasing 2 entries using force-push strategy
🔄 Processing commits:
✅ Force-pushed add-auth-temp content to add-auth (preserves PR #123)
✅ Force-pushed add-tests-temp content to add-tests (preserves PR #124)
🧹 Cleaned up 2 temporary branches
✅ 2 commits successfully rebased - PR history preservedDisplay comprehensive status of current repository and stacks.
ca repo [OPTIONS]
# Options:
--verbose, -v # Show detailed information
--format <FORMAT> # Output format (table, json, yaml)Output includes:
- Repository status
- Active stack information
- Uncommitted changes
- Pull request status
- Sync status with remotes
Show detailed status for current or specified stack.
ca stacks status [NAME]
# Arguments:
[NAME] # Stack name (defaults to active stack)Show all pull requests associated with stacks.
ca stacks prs [OPTIONS]
# Options:
--stack <NAME> # Filter by stack name
--status <STATUS> # Filter by PR status (open, merged, declined)
--format <FORMAT> # Output format (table, json)Examples:
# All PRs
ca stacks prs
# PRs for specific stack
ca stacks prs --stack feature-auth
# Only open PRs
ca stacks prs --status openGenerate visual representation of a stack.
ca viz stack [NAME] [OPTIONS]
# Arguments:
[NAME] # Stack name (defaults to active stack)
# Options:
--format <FORMAT> # Output format (ascii, mermaid, dot, plantuml)
--output <FILE> # Save to file
--compact # Compact display mode
--no-colors # Disable colored outputExamples:
# ASCII diagram in terminal
ca viz stack
# Mermaid diagram
ca viz stack --format mermaid
# Save to file
ca viz stack --format dot --output stack.dot
# Compact mode
ca viz stack --compactShow dependencies between all stacks.
ca viz deps [OPTIONS]
# Options:
--format <FORMAT> # Output format (ascii, mermaid, dot, plantuml)
--output <FILE> # Save to file
--compact # Compact display mode
--no-colors # Disable colored outputExamples:
# ASCII dependency graph
ca viz deps
# Export to Mermaid
ca viz deps --format mermaid --output deps.md
# Graphviz format for advanced visualization
ca viz deps --format dot --output deps.dotLaunch interactive stack browser.
ca tuiFeatures:
- Real-time stack visualization
- Keyboard navigation (↑/↓/Enter/q/r)
- Stack activation and switching
- Live status updates
- Error handling and recovery
Keyboard Controls:
↑/↓- Navigate stacksEnter- Activate selected stackr- Refresh dataq- Quit
Install all Cascade Git hooks for workflow automation.
ca hooks install [OPTIONS]
# Options:
--force # Overwrite existing hooksRemove all Cascade Git hooks.
ca hooks uninstallDisplay installation status of all Git hooks.
ca hooks statusInstall a specific Git hook.
ca hooks add <HOOK>
# Hook types:
post-commit # Auto-add commits to active stack
pre-push # Prevent dangerous pushes to protected branches
commit-msg # Validate commit message format
prepare-commit-msg # Add stack context to commit messagesRemove a specific Git hook.
ca hooks remove <HOOK>Manage Cascade CLI configuration settings.
ca config <SUBCOMMAND>
# Subcommands:
list # Show all configuration
get <KEY> # Get specific value
set <KEY> <VALUE> # Set configuration value
unset <KEY> # Remove configuration valueExamples:
# List all configuration
ca config list
# Get specific setting
ca config get bitbucket.url
# Set configuration
ca config set bitbucket.token "your-token-here"
# Remove setting
ca config unset bitbucket.projectRun comprehensive system health check.
ca doctor [OPTIONS]
# Options:
--verbose, -v # Show detailed diagnostics
--fix # Attempt to fix common issuesManage shell completion installation.
ca completions <SUBCOMMAND>
# Subcommands:
install # Auto-install for detected shells
status # Show installation status
generate <SHELL> # Generate completions for specific shellDisplay version and build information.
ca version [OPTIONS]
# Options:
--verbose, -v # Show detailed build informationRemove orphaned temporary branches created during rebase operations.
ca cleanup [OPTIONS]
# Options:
--execute # Actually delete branches (default is dry-run)
--force # Force deletion even if branches have unmerged commits
# Examples:
ca cleanup # Dry-run: show what would be deleted
ca cleanup --execute # Actually delete temp branches
ca cleanup --execute --force # Force delete including unmerged branchesWhen to use: If a rebase operation is interrupted or fails, temporary branches
with names like feature-temp-1234567890 may be left behind. This command helps
identify and remove them.
# Create feature stack
ca stacks create feature-user-profiles --base develop --description "User profile management system"
# Start development
git checkout develop
git pull origin develop# First increment: basic profile model
git add . && git commit -m "Add user profile model"
ca push
# Second increment: profile endpoints
git add . && git commit -m "Add profile CRUD endpoints"
ca push
# Third increment: profile validation
git add . && git commit -m "Add profile data validation"
ca push# Submit each increment as separate PRs
ca submit 1 # Submit profile model
ca submit 2 # Submit endpoints (depends on model)
ca submit 3 # Submit validation (depends on endpoints)# Make changes to address feedback
git add . && git commit -m "Address review feedback: improve validation"
# Update existing PR
ca submit 3 --title "Updated: Add profile data validation"
# Or sync if dependencies changed
ca sync# After PRs are approved and merged
ca pop # Remove merged entries
ca pop
ca pop
# Or delete completed stack
ca stacks delete feature-user-profiles# Create fix stack
ca stacks create fix-login-bug --base main --description "Fix login timeout issue"
# Make fix
git add . && git commit -m "Fix login timeout in OAuth flow"
ca stacks push
# Submit immediately
ca stacks submit --reviewers "security-team"# Investigation stack
ca stacks create investigate-memory-leak --base develop
# Add investigation commits
git commit -m "Add memory profiling tools"
ca stacks push
git commit -m "Identify memory leak in cache layer"
ca stacks push
git commit -m "Fix memory leak and add tests"
ca stacks push
# Submit investigation and fix separately
ca stacks submit 1 --title "Add memory profiling tools"
ca stacks submit 3 --title "Fix memory leak in cache layer"# In CI pipeline
ca doctor --verbose # Validate environment
ca stacks status --format json # Get status for reporting
ca viz deps --format dot # Generate dependency graphs# Install hooks for automatic workflow
ca hooks install
# Hooks will automatically:
# - Add commits to active stack
# - Validate commit messages
# - Prevent dangerous operations# Optimize for large repos
ca config set performance.cache_size 2000
ca config set performance.parallel_operations true
ca config set network.timeout 120# Work with specific stacks only
ca stacks list --format name | grep feature- | xargs -I {} ca stacks validate {}# Generate project architecture docs
ca viz deps --format mermaid --output docs/architecture.md
# Include in markdown
echo "# Project Architecture" > docs/full-arch.md
echo "## Stack Dependencies" >> docs/full-arch.md
ca viz deps --format mermaid >> docs/full-arch.md# Export for external tools
ca viz stack --format dot | dot -Tpng > stack-diagram.png
ca viz deps --format plantuml | plantuml -pipe > deps.svg~/.cascade/config.toml # User configuration
./.cascade/config.toml # Repository configuration (overrides user)
[bitbucket]
url = "https://bitbucket.company.com"
project = "PROJECT_KEY"
repository = "repo-name"
token = "your-personal-access-token"
[git]
default_branch = "main"
auto_cleanup_merged = true
prefer_rebase = true
[workflow]
auto_submit = false
require_pr_template = true
default_reviewers = ["team-lead", "senior-dev"]
[ui]
colors = true
progress_bars = true
emoji = true
[performance]
cache_size = 1000
parallel_operations = true
timeout = 60
[hooks]
post_commit = true
pre_push = true
commit_msg = true
prepare_commit_msg = falseCASCADE_CONFIG_DIR="/custom/config/path"
CASCADE_LOG_LEVEL="debug"
BITBUCKET_TOKEN="token-from-env"
BITBUCKET_URL="https://bitbucket.company.com"# List all stacks to verify names
ca stacks list
# Check if in correct repository
ca repo
# Re-initialize if needed
ca init --force# Test connection
ca doctor
# Verify token permissions
ca config get bitbucket.token
# Reconfigure if needed
ca setup --force# Check conflict status
ca stacks status
# Resolve manually and continue
git add .
ca stacks rebase --continue
# Or abort and try different strategy
ca stacks rebase --abort
ca stacks sync --strategy merge# Check repository size
du -sh .git/
# Optimize Git repository
git gc --aggressive
git prune
# Adjust cache settings
ca config set performance.cache_size 500# Enable debug logging
export CASCADE_LOG_LEVEL=debug
ca stacks push
# Check logs
tail -f ~/.cascade/logs/cascade.log# Built-in help
ca --help
ca stack --help
ca stacks create --help
# System diagnostics
ca doctor --verbose
# Check configuration
ca config list- Installation Guide - Setup and installation help
- Troubleshooting Guide - Common issues and solutions
- Configuration Reference - Complete settings guide
- GitHub Issues - Bug reports and feature requests
- Discussions - Community support
For more detailed information on specific topics, see the linked documentation files.