Code Review and Teamwork
56%
What a Normal Workday Looks Like
To tie everything together, here's what a normal workflow looks like when you're working on a team:
ββββββββββββββββ ββββββββββββββββ βββββββββββββββββ
β Pull latest βββββ>β Create βββββ>β Work & commit β
β main β β branch β β on branch β
β git pull β β git switch -cβ β git add/commitβ
ββββββββββββββββ ββββββββββββββββ βββββββββ¬ββββββββ
β
v
ββββββββββββββββ ββββββββββββββββ βββββββββββββββββ
β Clean up β<βββββ Merge on β<βββββ Push & open β
β git pull β β GitLab after β β merge request β
β delete branchβ β review β β git push β
ββββββββββββββββ ββββββββββββββββ βββββββββββββββββ
Start your day by pulling the latest changes so your local main is up to date:
git switch main
git pull
Create a branch for the task you're working on:
git switch -c feature/your-task
Make changes, commit as you go:
git add .
git commit -m "Describe what you changed"Learn Git in a Day
Everything you need, nothing you don'tEnroll now to unlock all content and receive all future updates for free.
Unlock now Β $9.99$7.49Learn More
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
