Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,35 @@ This repository includes several scripts to help you practice:
- [Best Practices](docs/BEST_PRACTICES.md) - Advanced workflows and tips
- [AI Development Guide](docs/AI_DEVELOPMENT.md) - Using worktrees with AI coding tools

## 🎬 Presentation

This repository includes a comprehensive [Slidev](https://sli.dev/) presentation to showcase Git worktrees concepts and tutorial overview.

### Running the Presentation

```bash
cd slides
npm install # First time only
npm run dev # Start presentation server
```

The presentation covers:
- Problem statement and Git worktrees solution
- Real-world scenarios and use cases
- Tutorial repository walkthrough
- Exercise highlights with code examples
- Best practices and AI development workflows

### Presentation Commands
```bash
npm run dev # Development server with hot reload
npm run build # Build for production deployment
npm run preview # Preview production build
npm run export # Export slides to PDF
```

**💡 Perfect for:** Team presentations, conference talks, or personal learning reinforcement.

## 🏗️ Sample Project

The `sample-project/` directory contains a simple web application with intentional bugs and TODO items for practicing worktree workflows in realistic scenarios.
Expand Down
28 changes: 28 additions & 0 deletions slides/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Slidev build output
dist/
.slidev/

# IDE files
.vscode/
.idea/

# OS files
.DS_Store
Thumbs.db

# Logs
*.log

# Temporary files
*.tmp
*.temp

# Environment files
.env
.env.local
69 changes: 69 additions & 0 deletions slides/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Git Worktrees Tutorial - Slidev Presentation

This directory contains a [Slidev](https://sli.dev/) presentation showcasing the Git Worktrees Tutorial.

## Getting Started

### Prerequisites
- Node.js 16+
- npm or yarn

### Installation
Dependencies are already installed. If you need to reinstall:

```bash
npm install
```

### Running the Presentation

```bash
# Start development server (opens browser automatically)
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

# Export to PDF
npm run export
```

### Presentation Content

The slide deck covers:
- Git worktrees problem and solution overview
- Real-world scenarios and use cases
- Tutorial repository walkthrough
- Exercise highlights and learning objectives
- Best practices and advanced workflows
- AI development integration
- Getting started guide

### Customization

Edit `slides.md` to modify the presentation content. The presentation uses:
- **Theme**: Slidev default theme
- **Syntax Highlighting**: Shiki
- **Transitions**: Slide animations
- **Interactive Elements**: Click-through content reveals

### Presenting

- Use `Space` or arrow keys to navigate
- Press `f` for fullscreen
- Press `o` for overview mode
- Press `d` to toggle dark mode
- Press `c` for presenter mode with notes

## File Structure

```
slides/
├── slides.md # Main presentation content
├── package.json # Dependencies and scripts
├── README.md # This file
└── .gitignore # Git ignore rules
```
Loading