Ship Changes
Context
Run in parallel:
- •
git status(never -uall) - •
git diff HEAD - •
git log --oneline -10
Workflow
- •Review all changes from status and diff
- •Analyze recent commit style from log
- •Generate commit message based on changed files matching repo style
- •In parallel (single message):
- •Stage all files:
git add -A - •Commit with HEREDOC format
- •Push:
git push(current branch)
- •Stage all files:
- •Run
git statusafter to verify
Rules
- •Stage ALL changes with
git add -A - •Generate message from changed files, match repo style
- •NEVER force push (
-for--force) - •NEVER skip hooks
- •NEVER commit secrets
- •Push to current branch only