Git Update Commit Push
Summarize current repo changes and execute a safe one-command Git handoff.
Workflow
- Verify repository and branch state with
git status --short --branch. - Summarize staged/unstaged changes using:
git diff --statgit diff --cached --statgit diff -- <file>for key files when needed
- Run the automation script:
scripts/auto_git_update.sh
- Report:
- Summary of changes
- Commit hash and message
- Push target (
remote/branch)
Command
Run from repository root:
skills/git-update-commit-push/scripts/auto_git_update.sh
Common options:
# custom commit title
skills/git-update-commit-push/scripts/auto_git_update.sh --message "feat(api): add retry logic"
# commit but do not push
skills/git-update-commit-push/scripts/auto_git_update.sh --no-push
# preview only
skills/git-update-commit-push/scripts/auto_git_update.sh --dry-run
Guardrails
- Stop if not inside a Git repository.
- Stop if no changes exist.
- Detect current branch automatically unless
--branchis provided. - Default remote is
originunless--remoteis provided. - Keep commit message concise and action-oriented. Use
references/commit-style.mdif unsure.
Resources
- Script:
scripts/auto_git_update.sh - Reference:
references/commit-style.md
Source: wdkwdkwdk/DataWowsight — distributed by TomeVault.