Features & Advanced Usage

GitWise transforms your Git workflow with AI-powered automation while keeping you in control.

๐Ÿค– Core Features

๐ŸŽฏ AI-Powered Commit Messages

Transform your staged changes into perfect Conventional Commits:

# Before
git commit -m "fix stuff"

# After
gitwise commit
# Output: "fix: resolve authentication timeout in user login flow"

Features:

๐Ÿ“ Intelligent PR Descriptions

Create comprehensive PRs with zero manual writing:

gitwise pr --labels --checklist

Automatically generates:

โšก Interactive Complete Workflow

One command does everything with AI assistance:

# Traditional workflow (slow)
git add .
git commit -m "vague message"
git push
# Manually create PR... 10+ minutes

# GitWise interactive workflow (15 seconds)
gitwise add .
# ๐Ÿ”„ Shows changes โ†’ AI commit โ†’ Push โ†’ Create PR
# Complete workflow with AI assistance at each step

๐Ÿง  Smart Auto-Grouping

Automatically groups related changes into logical commits:

gitwise commit --group
# AI analyzes changes and creates separate commits for:
# - "feat: add user authentication"  
# - "docs: update API documentation"
# - "test: add auth unit tests"

๐Ÿ”€ Intelligent Merge Resolution

AI-powered conflict analysis and resolution:

gitwise merge feature-branch
# ๐Ÿค– Analyzes conflicts with context
# ๐Ÿง  Suggests resolutions
# ๐Ÿ“ Explains merge strategy
# โšก Guides you through resolution

๐ŸŽฏ Branch Context Management

Help AI understand your work:

# Set context for better suggestions
gitwise set-context "Implementing OAuth2 authentication system"

# View current context
gitwise get-context

๐Ÿค– AI Backend Options

Perfect for privacy-focused developers

# One-time setup
curl -fsSL https://ollama.com/install.sh | sh
ollama pull llama3
gitwise init  # Select Ollama

Benefits:

Available Models:

๐ŸŒ Online (GPT-4/Claude) - Latest AI

For cutting-edge AI capabilities

gitwise init  # Select Online, enter API key

Benefits:

Supported Providers:

๐Ÿ”ฅ Advanced Features

๐Ÿ”„ Auto-Confirm Mode

Speed up your workflow with automatic confirmations:

# Skip all prompts
gitwise add . --yes
gitwise commit --yes
gitwise push --yes
gitwise pr --yes --labels --checklist

๐Ÿท๏ธ Smart PR Labels

Automatically add relevant labels based on your changes:

gitwise pr --labels

Auto-detects:

โœ… Context-Aware Checklists

Generate checklists based on your file types:

gitwise pr --checklist

Examples:

๐Ÿ“Š Changelog Management

Keep your changelog up-to-date automatically:

# Generate changelog for current version
gitwise changelog

# Update for specific version
gitwise changelog --version 1.2.0

๐ŸŽฎ Git Command Passthrough

Use GitWise as a drop-in Git replacement:

# All standard Git commands work
gitwise status
gitwise log --oneline
gitwise branch -a
gitwise diff HEAD~1

โš™๏ธ Advanced Configuration

Switching AI Backends

Change backends anytime:

gitwise init  # Reconfigure backend

Custom Model Selection

For Ollama users:

# List available models
ollama list

# Pull new models
ollama pull codellama
ollama pull mistral

# GitWise will detect and offer them

Configuration Files

GitWise stores config in:

๐ŸŽฏ Best Practices

For Teams

For Privacy

For Performance

๐Ÿ”ง Troubleshooting

Common Issues

Ollama not responding:

ollama serve  # Start Ollama server
ollama list   # Check available models

API key issues:

gitwise init  # Reconfigure API keys

Performance slow:

# For Ollama: ensure model is pulled locally
ollama pull llama3

# For Online: check internet connection

๐Ÿš€ Whatโ€™s Next?

GitWise is actively developed with new features added regularly:

Stay updated at github.com/PayasPandey11/gitwise