Getting Started
Getting Started with Gitorial
Welcome to Gitorial, a VS Code extension that enables interactive, step-by-step coding tutorials directly in your editor. Learn coding concepts, frameworks, and best practices through guided, hands-on experiences.
What is Gitorial?
Gitorial is an interactive learning platform that transforms Git repositories into step-by-step coding tutorials. Each tutorial step is a Git commit that you can navigate, edit, and learn from within VS Code.
Quick Installation
From VS Code Marketplace
- Open VS Code
- Go to the Extensions view (
Ctrl+Shift+XorCmd+Shift+X) - Search for “Gitorial”
- Click Install
Manual Installation
- Download the latest
.vsixfile from the releases page - In VS Code, run
Extensions: Install from VSIX...from the command palette - Select the downloaded
.vsixfile
Your First Tutorial
1. Clone a Tutorial
Open the command palette (Ctrl+Shift+P or Cmd+Shift+P) and run:
Gitorial: Clone New TutorialEnter the Git URL of a tutorial repository and select where to clone it.
2. Open the Tutorial
The extension will automatically:
- Clone the repository into a new folder
- Open a new VS Code window with the tutorial
- Load the Gitorial panel
3. Navigate Through Steps
Use the Gitorial panel to:
- Next Step: Move forward through tutorial steps
- Previous Step: Go back to review previous steps
- Jump to Step: Navigate directly to any step
- View Solutions: Compare your work with step solutions
Basic Usage
Tutorial Panel
The Gitorial panel provides:
- Step Navigation: Move between tutorial steps
- Content View: Rendered Markdown for each step
- Progress Tracking: Visual progress indicator
- File Management: Automatic file opening for each step
Git Integration
Gitorial uses Git commits as tutorial steps:
- Each step represents a specific code change
- Navigate between steps like Git commits
- See exactly what changed in each step
- Reset to any previous step if needed
VS Code Integration
The extension integrates seamlessly with VS Code:
- Editor Management: Automatically opens relevant files
- Tab Tracking: Keeps track of open files per step
- Diff Views: Compare your changes with solutions
- Persistent State: Remembers your progress across sessions
Next Steps
Now that you’re familiar with the basics:
- Explore Features - Learn about advanced Gitorial capabilities
- Create Tutorials - Start authoring your own interactive tutorials
- Contribute - Join the Gitorial development community
Ready to dive deeper? Check out the Features section to learn about all the powerful capabilities Gitorial offers.