-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
philipp-gatzka edited this page Dec 24, 2025
·
1 revision
This guide walks you through setting up your development environment for the Graphite project.
- Git 2.x or later
- GitHub account with repository access
- SSH key configured for GitHub
Clone with submodules to include the wiki:
git clone --recurse-submodules git@github.com:philipp-gatzka/graphite.git
cd graphiteIf you already cloned without --recurse-submodules:
git submodule update --init --recursiveThe setup script configures git hooks and other development tools:
./scripts/setup.shThis configures:
-
Git hooks path - Points to
.githooks/for shared hooks - commit-msg hook - Validates commit message format
Test that the commit hook is working:
# This should fail (invalid format)
git commit --allow-empty -m "test commit"
# This should succeed (valid format)
git commit --allow-empty -m "#1 test commit"graphite/
├── wiki/ # Documentation (git submodule)
├── scripts/ # Development scripts
├── .githooks/ # Shared git hooks
├── .github/ # GitHub templates
└── CLAUDE.md # Workflow rules (read this!)
- Read Development Workflow to understand branching and commits
- Read Contributing before making changes
- Review
CLAUDE.mdfor the complete ruleset
Ensure the hooks path is configured:
git config core.hooksPath .githooksgit submodule update --init --recursivechmod +x scripts/setup.sh
./scripts/setup.sh