Git Workflow Automation

Streamline your Git workflow with one command. Add, commit, and push changes with intelligent automation and safety checks.

One Command, Complete Workflow

Replace multiple Git commands with a single intelligent workflow that handles staging, committing, and pushing with built-in safety checks.

  • Automatic staging of modified files
  • AI-generated commit messages
  • Safe push with conflict detection
  • Optional PR creation
Traditional workflow:
git add .
git commit -m "message"
git push
gh pr create
With LEt's F______ Go!:
lfg

Built-in Safety Checks

🛡️ Protected Branch Warnings

Get explicit confirmation before pushing to protected branches like main or develop.

  • • Configurable protected branch list
  • • Double confirmation for critical branches
  • • Branch name validation

📁 Large File Detection

Automatically detect large files and binaries that might need Git LFS or should be excluded.

  • • Configurable size thresholds
  • • Binary file detection
  • • Git LFS recommendations

Flexible Hook System

Pre-run Hooks

Run tests, linting, or formatting before committing. Hooks can block the commit if they fail.

# .lfg/pre-run.sh
pnpm format || exit 1
pnpm lint || exit 1
pnpm test || exit 1

Post-run Hooks

Execute actions after successful commits, like opening PRs in your browser or sending notifications.

# .lfg/post-run.sh
[ -n "$PR_URL" ] && open "$PR_URL"
notify-send "Commit pushed!"

Security & Compliance

🔐

Signed Commits

Enforce GPG-signed commits for verified authorship

📝

DCO Support

Automatic Developer Certificate of Origin signoff

🔍

Validation

Commit message and change validation

YAML-Based Configuration

Configure every aspect of your workflow with a simple YAML file. Share configurations across your team for consistent workflows.

# .lfg/config.yml
base_branch: main
protected_branches: [main, develop]
behavior:
require_signed_commits: true
require_dco: true
hooks:
pre: .lfg/pre-run.sh
post: .lfg/post-run.sh