Safely consolidate local changes, sync with remote, and recover from push blockers using a bundle backup. Use for end-of-session cleanup, branch sync, and publishing pending work.
Use this skill when a session ends and you need to bring local Git state home cleanly.
Use these command patterns as needed:
git status -sb
git branch --show-current
git remote -v
git add -A
git commit -m "chore: consolidate workspace changes"
git pull --rebase <remote> <branch>
git push -u <remote> <branch>
If a reserved path blocks add on Windows:
git add -A -- . ":(exclude)nul"
Bundle backup (replace base commit and file path):
git bundle create TEMP-COMMANDSTATION/session-backup.bundle <base>..HEAD
git bundle verify TEMP-COMMANDSTATION/session-backup.bundle
At completion, report: