gitpractice.dev

brewly — Ch.5 · Answer a review

Exercise 2 of 6

Before you start

A pull request follows its branch

You do not open a new pull request after feedback. Commit the fix on the same branch and push: the pull request updates itself.

Press "Write the code" to make the requested change.

Squash and merge combines all commits of the pull request into one on main, so "fix typo" commits do not end up in the history.

git commit -am "What you fixed"
stage tracked changes and commit
git push
update the pull request
You can reopen this any time with “Lesson”.

Continue on a desktop

Typing git on a small screen is no fun. Open this page on a laptop or desktop to practise.

Back to the path