Git Workflows
Workflows Suportados
GitFlow
# Iniciar GitFlow
bytebabe git flow init
# Nova feature
bytebabe git flow feature start
Trunk-Based
# Setup inicial
bytebabe git trunk setup
# Nova branch curta
bytebabe git trunk feature
Commit Patterns
Commits Semânticos
# Commit guiado
bytebabe git commit
Tipos disponíveis:
- feat: Nova feature
- fix: Correção de bug
- docs: Documentação
- style: Formatação
- refactor: Refatoração
- test: Testes
- chore: Tarefas
Automações
Auto-Branch
# Branch por ticket
bytebabe git auto-branch TICKET-123
# Branch por tipo
bytebabe git auto-branch feature/descricao
Auto-Merge
# Merge automático
bytebabe git auto-merge develop
# Com testes
bytebabe git auto-merge --with-tests
Boas Práticas
Use commits semânticos
Mantenha branches atualizadas
Faça merge frequente
Revise antes do push
05 maio 2025