AI summary by TwinMind
I Stopped Using GitHub (Kind Of)
Theo - t3․gg
17m 18s
Introduction & Context
- GitHub acknowledged as crucial for web/open source ecosystem but has limitations
- Pain points: code reviews, stacking PRs, large team workflows, general slowdown
- Git primitives may not be optimal for application development at scale
- Interest in Facebook's Fabricator tool using stack diffs for faster development
- Video sponsored by Graphite but genuine excitement for the product
Graphite Overview
- Layer on top of GitHub (like Superhuman for email)
- Better interface, tooling, focused on stack diffs
- Stack diff: somewhere between commit and branch
- Workflow: make changes first, then decide what to do with them
- CLI-focused approach (GT commands)
Basic Workflow Demo
- Starting with homepage layout fixes (min-height screen removal)
- Traditional workflow: select files → commit → new branch → sync → push → PR
- Graphite workflow: make changes →
gt create→ commit →gt ssto sync - Still creates GitHub PRs (not replacing GitHub, building on top)
- Enhanced review interface with hotkeys, versions, stacks
Stack Diff Functionality
- Force pushing handled elegantly with version comparison
- Can compare V1 vs V2 of changes easily
- Addresses UX issues around force pushing fears
- Persists old commits while force pushing at branch level
Stacking Changes
- Created second change (homepage text update) while first PR under review
gt createagain to make new stack on topgt sssyncs all pending stacks- Stack visualization shows dependencies
- Merge when ready with down-stack enabling
- Auto-merge when CI passes and approvals received
Workflow Management
gt synccommand for cleanup- Deletes merged branches automatically
- Switches back to main
- Maintains clean workspace
- Stack mentality: make change → decide if commit/existing PR/new stack
- Simpler than traditional Git workflow despite initial complexity
Advanced Features Demo
- Multiple parallel stacks from main branch
gt trunkto return to default branch- VSCode extension for stack management
- Visual representation of all local stacks
- Easy branch switching
- Submit functionality (though CLI preferred)
- Quick merging and cleanup with
gt sync
Rebasing & Conflict Resolution
- Automatic restacking when dependencies merge
- Frequent small rebases vs infrequent large ones
- Conflicts resolved at lowest stack node, carry upward
- Less scary than traditional rebasing
- Feels like moving stacks vs rewriting history
GitHub Integration
- Stack information visible in GitHub comments
- Auto-generated stack visualization for non-Graphite users
- Maintains compatibility with traditional GitHub workflow
- Clear dependency tracking in PR descriptions
Dashboard & Notifications
- GitHub notifications described as "absolutely useless"
- Graphite dashboard with customizable sections
- Prioritizes items needing review
- Drag-and-drop customization
- Filter by repos, conditions
- Game-changer for code review workflow
- Massive improvement over GitHub's notification system
Review Interface
- Usable even on small screens (720p)
- Better than GitHub for code reviews
- Hotkeys for navigation
- Thread management
- Version comparison tools
Workflow Philosophy
- Challenge traditional Git usage patterns
- Focus on changes in editor vs branch management
- Think less about branch dependencies
- More focus on getting changes to team quickly
- Quality of life improvements for both creation and review
Results & Impact
- Faster development velocity
- Better code review experience
- Reduced cognitive overhead
- Addresses chained PR conflicts
- 10+ years of Git experience challenged positively
- Genuine excitement despite sponsored content
