Slide 10
Slide 10 text
Git and GitHub Workflows
GitHub Flow
Git Flow
Rebase It
Squash It
Linear
Fast iterations
Git Project Workflow
Flow Types
Aims
Long-lived release branches
Maintenance
Commands
rebase master
merge --squash
rebase -i
commit —amend
pull -r
bisect
Easy regression discovery
Developer on boarding
Continuous Integration
Build all branches
Version Control UI
Handles rebased branches?
Triggers UI updates on merges?
Pull Requests
Commit keywords: “fixes #22”
revert
Setting up jobs
Push branch to production
Chatops
Deploying to branches
Reverse merges
merge master topic
Deployments API
GitHub Releases API
Semantic versioning best practices
Teams
Solo
1-5
5-15
15-50
50-150
150+
reset --hard
reset --soft
rebase --autosquash -i
GitHub Deployments API
Centralized
Decentralized
➊