Development
Easy
✓ Official

Linear + GitHub integration: Link issues to commits 2025

Connect Linear with GitHub for automatic issue linking, PR management, and development workflow automation. Complete developer guide.

5 minutes
Setup time
Easy
Difficulty
Official
Support
Overview

Seamlessly connect your Linear issues with GitHub repositories for enhanced development workflow and traceability.

Features
Bidirectional sync
Automation
Real-time notifications
Custom fields
Bulk operations
Benefits
  • Automatic issue status updates from commits
  • Link pull requests to Linear issues
  • Branch creation from Linear issues
  • Deployment tracking and release notes
  • Code review integration
Limitations
  • Limited to GitHub repositories
  • Requires specific commit message format
  • Some features require Linear Pro plan
Setup guide
Step-by-step instructions to integrate GitHub with Linear
1

Install Linear GitHub app

Go to GitHub marketplace and install the Linear app, or use the integration section in your Linear workspace.

# Install via GitHub CLI
gh extension install linear/linear-cli
2

Authorise repository access

Grant Linear access to the repositories you want to integrate. You can choose specific repos or allow access to all.

3

Configure commit message format

Set up commit message templates that include Linear issue IDs for automatic linking.

# Commit message format examples:
git commit -m "Fix login validation - LIN-123"
git commit -m "Add user dashboard (closes LIN-456)"
4

Set up branch naming

Configure automatic branch creation from Linear issues with consistent naming conventions.

# Auto-generated branch names:
feature/LIN-123-add-user-authentication
bugfix/LIN-456-fix-payment-flow
5

Test the workflow

Create a Linear issue, branch from it, make a commit with the issue ID, and verify the integration works.

Automation ideas
Popular automation workflows you can set up

Development workflow automation

Trigger: Pull request merged
Action: Automatically move Linear issue to "Done"

Development task setup

Trigger: Linear issue assigned
Action: Create feature branch in GitHub

Release tracking and communication

Trigger: Deployment completed
Action: Update all related Linear issues
Troubleshooting
Common issues and their solutions

Commits not linking to Linear issues

Ensure commit messages include the correct Linear issue ID format (LIN-XXX) and that the repository is connected.

Branch creation not working

Check that the Linear GitHub app has write permissions to your repository and that branch protection rules allow creation.

Pull request not updating issue status

Verify that the PR description or commits reference the Linear issue ID and that status automation is enabled.

Use cases
Perfect for teams working on
Feature development tracking
Bug fix workflow
Release management
Code review process
Development metrics

Ready to integrate GitHub?

Start with linear.gratis and connect your GitHub workflow. Free setup, no limits, ready in minutes.