Commit e push na branch atual (suporta WIP e Conventional Commits)
Synchronizes, commits, and pushes changes to origin with conventional commit format.
/plugin marketplace add hmaurus/masterclaude/plugin install pdir-workflow@masterclaudeSincroniza, commita e envia mudanças para origin.
Informações da branch:
!git status -sb
!git diff --stat
Interpretar saída do git status -sb:
## main...origin/main → tem upstream, execute git pull --ff-only## main (sem ...) → branch nova, pule o pullSe não houver mudanças: Informar e encerrar.
Formato: tipo(escopo): descrição
Tipos: wip, feat, fix, docs, chore, refactor, style, test, perf, ci, build
Escopo: área afetada (auth, api, ui, db, etc.) - obrigatório
git add -A
git commit -m "$(cat <<'EOF'
tipo(escopo): descrição
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
git push -u origin "$(git branch --show-current)"
Commit realizado!
[hash] tipo(escopo): descrição
Branch: [branch]
Estado: nothing to commit, working tree clean
Pre-commit modificou arquivos:
git add -A && git commit --amend --no-edit && git push --force-with-lease
Push rejeitado:
git pull --rebase && git push