Command

// gat feature

Automate your git feature workflow - creating branches, committing changes, and pushing to remote in one command

Quick Branch Creation
gat feature auth-system

Creates branch, commits staged changes, and pushes to remote

Smart Commit Messages
gat feature user-login

Creates "feature/user-login" branch with commit message: "user-login"

// Video Short

Video Coming Soon

We're working on creating video content for this feature. Check back soon!

What Does gat feature Do?

The gat feature <NAME> command streamlines the entire git feature branch workflow by automating branch creation, committing staged changes, and pushing to remote repository in a single command.

Core workflow:

  • Branch creation: Creates a new branch from current HEAD
  • Automatic commit: Commits all staged changes with branch name as message
  • Remote push: Pushes new branch to origin with upstream tracking
  • Clean commit messages: Extracts readable message from branch name

Usage Examples

Basic Feature Branch
# Traditional git workflow
git checkout -b feature/user-auth
git add .
git commit -m "Add user authentication"
git push -u origin feature/user-auth
# With gat (one command)
gat feature user-auth

Replace 4 git commands with a single gat command for the same result.

Smart Commit Message Generation
# Feature names become readable commit messages
gat feature payment-integration
# → Branch: "feature/payment-integration", Commit: "payment-integration"
gat feature login-error-handling
# → Branch: "feature/login-error-handling", Commit: "login-error-handling"
gat feature api-documentation
# → Branch: "feature/api-documentation", Commit: "api-documentation"

GAT extracts clean, readable commit messages from your branch names automatically.

Team Collaboration
# Instant remote availability
gat feature dashboard-redesign
# Branch feature/dashboard-redesign is immediately available for team review
# No need for separate push commands

Work becomes immediately available for team collaboration and code review.

Branch Naming Conventions

Feature Branches
gat feature user-authentication
gat feature payment-gateway
gat feature search-functionality
Bug Fixes
gat feature login-validation-fix
gat feature memory-leak-fix
gat feature security-patch
Documentation
gat feature api-reference-docs
gat feature setup-guide-docs
gat feature contributing-docs
Refactoring
gat feature user-service-refactor
gat feature database-schema-refactor
gat feature legacy-code-cleanup

Workflow Comparison

Traditional Git Workflow
# Step 1: Create branch
git checkout -b feature/new-feature
# Step 2: Stage changes
git add .
# Step 3: Commit with message
git commit -m "Add new feature"
# Step 4: Push to remote
git push -u origin feature/new-feature

4 separate commands required for basic workflow

GAT Workflow
# Single command does everything
gat feature new-feature
# Automatically:
# ✓ Creates branch
# ✓ Commits staged changes
# ✓ Pushes to remote
# ✓ Sets upstream tracking

1 command replaces entire workflow

Available Now

The gat feature workflow is available today. Install gat and start streamlining your git workflow immediately.