Multi-Computer Git Workflow Guide
Development Environment Synchronization
🚀 Starting a New Session
- Open terminal in your project directory
- Run
git status to check current state
- Run
git pull to get latest changes
- Verify all dependencies are up to date
- Start your development environment
🛑 If You Have Uncommitted Changes
- Run
git status to see what's changed
- Add files with
git add .
- Commit with
git commit -m "Your message here"
- Push with
git push
✅ Verify You're Ready
- Run
git status - should show "nothing to commit"
- Run
git pull - should show "Already up to date"
- Now you're ready to start working
🏁 Ending a Session
- Save all your work
- Run
git status to see what's changed
- Add files with
git add .
- Commit with
git commit -m "Your message here"
- Push with
git push
🚫 Common Issues
- If git status shows .DS_Store files: Ignore them (handled by .gitignore)
- If merge conflicts occur: Stop and resolve before proceeding
- If unsure: Run
git status to check current state
💡 Best Practices
- ALWAYS check status before starting work
- ALWAYS push changes before switching computers
- NEVER force push unless absolutely necessary
- Keep commits meaningful and descriptive
Note: This guide is for private use across your development machines:
- Mac Studio
- MacBook Air
- ASUS A16 Advantage (Windows)