Local Workflow Automation
Streamlined Git workflow automation for local development with intelligent commit messages, safety checks, and GitHub integration.
One Command, Complete Workflow
Execute your entire Git workflow with a single command: stage changes, generate AI commit messages, commit with signatures, and push to remote.
-
✓
Automatic staging with
git add -A
- ✓ AI-powered commit message generation
- ✓ GPG signing and DCO support
- ✓ Automatic push to origin
Flexible Command Options
Workflow Control
--no-add
Skip automatic staging
--no-push
Commit only, don't push
--amend
Amend the last commit
--offline
Use template instead of AI
GitHub Integration
--pr
Create pull request after push
--draft
Create as draft PR
--review
Specify reviewers
--labels
Add labels to PR
Built-in Safety Checks
Protected Branches
Double confirmation required for main/develop branches
Large File Detection
Warns about large files and suggests Git LFS
Signature Verification
Ensures commits are properly signed when required
YAML Configuration
Repository Setup
Each repository gets its own .lfg/config.yml
file with customizable settings for behavior, AI providers, and GitHub integration.
- • Per-repository configuration
- • Protected branch definitions
- • AI provider and model settings
- • GitHub integration options
Example Configuration
Pre & Post Hooks
⚡ Pre-run Hooks
Execute scripts before the commit process. Perfect for running tests, linting, or formatting.
🎯 Post-run Hooks
Execute scripts after successful completion. Great for notifications or opening PRs in browser.
Optimized for Speed
Designed for fast, efficient workflows with minimal overhead and intelligent caching.
Fast Execution
- • Minimal dependencies
- • Efficient diff processing
- • Parallel operations where possible
- • Smart caching of API calls
Resource Management
- • Configurable timeouts
- • Memory-efficient processing
- • Automatic cleanup
- • Graceful error handling
Developer Experience
- • Clear progress indicators
- • Helpful error messages
- • Dry-run mode for testing
- • Verbose logging option