AIDE Sync
Overview
Standardize the end-of-session workflow: update, push, and confirm nothing is left unpushed.
Workflow
Inputs
- •Optional
-DryRunto print actions only. - •Optional
-AllowMainto permit syncing onmain.
Actions
- •Confirm current branch is not
main. - •Confirm working tree is clean (or warn and stop).
- •Run
git pull --rebase. - •Run
git push. - •Run
git status -sband confirm branch is up to date.
Output
- •A short summary including the final
git status -sb.
Notes
- •If
git pull --rebasefails, stop and request help (do not force).