Pull Request Flow
Create a branch, commit, push it and open a pull request on the hosting site. Reviewers comment and merge it.
Example
echo one > a.txt && git add a.txt && git commit -qm 'first'
git switch -q -c feature/greeting
echo hi > g.txt && git add g.txt && git commit -qm 'Add greeting'
git log main..HEAD --format=%sResult
Add greeting
Exercise
New feature branch.
git switch -c Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.