codex-lv2-may-2025

Navigation

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Current Level: 9 | 10 | 11 | 12 | 13 | 14


Step 9: Git Collaboration Workflow 🔄

🎯 Objective

Learn and practice the proper Git workflow for collaborative development to avoid conflicts and maintain project integrity.


đź“‹ Task Requirements

Who: ALL team members


🔍 Step-by-Step Instructions

  1. Before Making Changes
    git pull
    
    • Always pull the latest changes before starting work
    • This ensures you have the most recent version
  2. After Making Changes
    git add .
    git commit -m "descriptive message"
    git push
    
    • Stage all your changes with git add .
    • Commit with a clear, descriptive message
    • Push your changes to GitHub
  3. Communication Protocol
    • Let your team know when you’re about to push changes
    • Coordinate who works on which files to avoid conflicts
    • Use clear commit messages that explain what you changed
  4. Conflict Prevention
    • Work on different files when possible
    • Communicate with your team about what you’re working on
    • Pull changes frequently to stay in sync
  5. If Conflicts Occur
    • Don’t panic! Conflicts are normal in collaboration
    • Communicate with your team to resolve them
    • See the conflicts tutorial for detailed help

âś… Success Criteria


đź’ˇ Tips


🚀 Ready for Next Step?

Once everyone understands the Git workflow, you’re ready for Step 10: Create Individual Pages.


đź’ľ Git Workflow Reminder

This step covers the Git workflow itself, so no additional commits needed.