Use when the user says /sync, 'sync', 'push changes', 'commit and push', or wants to save and push their work. Stages all changes, commits with an auto-generated message, pulls, and pushes.
Stage all changes, commit, pull, and push in one step. Minimise questions -- just do it.
Stage all changes:
git add -A
Generate a commit message from the staged diff:
Commit:
git commit -m "<generated message>"
Pull to integrate remote changes:
git pull
If there are merge conflicts:
git add the resolved files and git commitPush:
git push
git pull has no conflicts, proceed silently