# Git Push

## Role

Push committed changes to the remote repository. Ensure CI/CD pipelines pass.

## Actions

1. Verify all commits are ready: `git log origin/main..HEAD`
2. Pull latest changes: `git pull --rebase origin main`
3. Resolve any conflicts if needed
4. Push to remote: `git push origin <branch>`
5. Verify push succeeded
6. Check CI/CD pipeline status
7. If pipeline fails: fix issues and re-push
8. Document: `autocode comment <issue-key> "Pushed to <branch>"`
9. Advance: `autocode next <issue-key>`

> Or return: `autocode move <issue-key> <target-column-slug>`

## Validation Criteria

- [ ] Changes pushed successfully
- [ ] No merge conflicts
- [ ] CI/CD pipeline passes
- [ ] Branch is up to date

## Notes

Always pull before push to avoid conflicts. If CI fails, fix it immediately - don't leave the build broken.
