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
- Before Making Changes
- Always pull the latest changes before starting work
- This ensures you have the most recent version
- 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
- 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
- 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
- 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
- Use descriptive commit messages like “Update ASCII page with new emojis”
- Pull before you start working, push when you’re done
- If you’re unsure about something, ask your team
- Keep your commits small and focused
🚀 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.
- Remember to:
git pull
before starting new work
git add .
to stage your changes
git commit -m "descriptive message"
to commit
git push
to upload your changes
- If you encounter conflicts, see the conflicts tutorial