Sync all changes to GitHub (both .claude submodule and parent repo) and Overleaf.
CRITICAL: Exclude, Never Delete
- •When syncing to Overleaf, the
.claude/folder must NEVER be deleted — only excluded from theoverleafbranch. - •See
/git-olfor the correct approach.
Steps:
- •
Check for untracked files that are NOT ignored. If any exist, list them and ask the user whether each should be tracked (added to the commit) or left untracked.
- •
Execute
/git-fp: Commit and push both the.claudesubmodule and parent repo to GitHub. - •
Execute
/git-cp: Commit and push any remaining changes to GitHub. - •
Execute
/git-ol: Sync to theoverleafbranch and push to the Overleaf remote.
Output: Report what was committed and pushed at each step, or indicate if there were no changes.