- Understand different workflow models
- Understand pros/cons of each
22 January 2025
It should enhance the effectiveness of your team
It should not be a burden
(git push origin main)
(git push origin main)
(git pull --rebase origin main)
rebase
moves Mary’s commits to tipgit status git add git rebase --continue
(git push origin main)
main
branch for official historymain
branchfeature
branch is pushed to remote repomain
and pushed to remote repogit checkout -b marys-feature main
(git push -u origin marys-feature)
## switch to main branch git checkout main ## pull changes from main git pull ## pull changes from feature git pull origin marys-feature ## push changes to main git push
feature
branch is createdfeature
branchfeature
) branch to the “official” repositoryWe’ll see these workflows in practice