GWF - Git Workflow Automator
Streamline your Git workflows with powerful automation and best practices.
Features
- Smart Branch Management - Create and manage feature, hotfix, and release branches
- Automated Workflows - Streamline common Git operations with single commands
- Conventional Commits - Interactive commit creation following best practices
- Branch Synchronization - Keep branches up-to-date with configurable strategies
- Cleanup Automation - Remove merged branches safely
- Multi-Platform - Works on Linux, macOS, and Windows
Installation
Quick Install
From GitHub Releases (Recommended)
# Linux
# macOS
# Windows (PowerShell)
# Add gwf.exe to your PATH
From Source
Quick Start
# Initialize in your repository
# Create a feature branch
# Make changes and commit
# Create a pull request
# Clean up after merge
Commands
| Command | Description | Example |
|---|---|---|
init |
Initialize GWF in repository | gwf init |
feature |
Create feature branch | gwf feature user-auth |
hotfix |
Create hotfix branch | gwf hotfix security-patch |
release |
Create release branch | gwf release 1.2.0 |
commit |
Create conventional commit | gwf commit |
sync |
Sync with remote | gwf sync |
cleanup |
Remove merged branches | gwf cleanup |
pr |
Create pull request | gwf pr |
standup |
Generate standup report | gwf standup |
config |
Manage configuration | gwf config --edit |
completions |
Generate shell completions | gwf completions bash |
Configuration
GWF uses .gwf.toml for configuration:
[]
= "feature/"
= "hotfix/"
= "release/"
= "main"
[]
= true
= false
[]
= "rebase" # or "merge"
= true
[]
= true
= ["main", "master", "develop"]
Workflow Examples
Feature Development
# ... make changes ...
Hotfix Deployment
# ... fix issue ...
Release Management
# After merge
&&
Shell Completions
Enable auto-completion for your shell:
# Bash
# Zsh
# Fish
# PowerShell
| |
Requirements
- Git 2.0+
- GitHub CLI (optional, for PR features)
Contributing
Contributions are welcome! Please check out the issues or submit a pull request.
License
MIT License - see LICENSE for details.
Built with Rust for speed and reliability.