spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / hooks / git / git-base-modes / git-base-modes.ts
10 lines · 220 BRaw
1import type Types from '../types'
2
3/**
4 * The comparisons git offers, in picker order: all three.
5 */
6export const GIT_BASE_MODES: readonly Types.BaseMode[] = Object.freeze([
7 'session',
8 'uncommitted',
9 'branch',
10])