Learn best practices for using Git as a team. Explore techniques and tools that can help you and your team work together harmoniously and quickly deliver high-quality software.
Overview
Syllabus
Introduction
- Using Git for team collaboration
- What you need to know
- Fundamentals of Git collaboration overview
- Common pitfalls: Untracked pulls
- Common pitfalls: Force push
- Best practices: Committing and syncing
- Best practices: gitignore
- Standardize line endings with autocrlf
- Branch naming
- Write descriptive commit messages
- Team composition and members roles
- Teaming with remote platforms overview
- Remote platform selection
- GitLab installation
- GitLab overview
- User account setup
- Account administration and preferences
- Keeping secrets
- Git workflows
- Trunk-based development
- Git flow
- Protecting branches
- Issues
- Feature branches
- Code reviews
- Merging feature branches
- Git Flow wrap-up
- Continuous integration with Git
- Tools for continuous integration
- Install GitLab Runner
- Register GitLab Runner
- Building a CI pipeline
- Automating units tests for quality assurance
- Code quality with pipelines
- Building a DevOps foundation
- Undoing local changes
- Reverting problematic changes
- Stashing your work
- Cherry-picking a hot fix
- Squashing commits
- Next steps
Taught by
Kevin Bowersox