2.3 KiB
2.3 KiB
Morning Reminder
Questions to Ask Claude Code
GitHub Sync for Multiple Claude Code Sessions
Question: How can I use GitHub to synchronize my Claude Code sessions across different machines?
Context:
- I have Claude Code running on multiple machines:
- VPS (ubuntu-24.04 - 66.63.182.168)
- Mac Pro 2013 (Sequoia via Open Core Legacy Patcher)
- Potentially other development machines
What I want to understand:
- How to keep this infrastructure repository in sync across all machines
- Best practices for Git workflow with Claude Code on multiple machines
- How to ensure changes made in one Claude Code session are available in others
- Whether I should use branches for machine-specific work or work directly on main
- How to handle potential merge conflicts when working from different locations
- Whether Claude Code has any built-in features for multi-machine workflows
Use Cases:
- Start work on VPS, continue on Mac Pro
- Document infrastructure changes from whichever machine I'm on
- Run scripts and update documentation in the same repo from different locations
- Ensure consistency across all documentation and automation scripts
Git Workflow for Multiple Machines (Quick Reference)
On laptop (first time):
git clone https://github.com/FredN9MRQ/infrastructure.git
cd infrastructure
claude # Start Claude Code (install first if needed)
When switching between machines:
Before leaving current machine:
git add . # Stage all changes
git commit -m "Description here" # Save snapshot
git push # Upload to GitHub
On new machine:
cd infrastructure
git pull # Download latest changes
claude # Continue working
All your work is now synced! Any changes on desktop → laptop → VPS stay in sync.
Today's Priority Tasks
- Configure WireGuard tunnel between UCG Ultra and VPS ← CRITICAL - services are down
- Continue filling out infrastructure-audit.md (Proxmox, network config)
- Plan IP addressing scheme and DHCP pool boundaries
Created: 2025-11-14 (midnight) Status: ✅ All changes committed and pushed to GitHub - ready for laptop! Read this first thing in the morning!