Git

BeginnerLesson 13 of 1340 min, hands-on

Capstone: A Full Pull Request Flow

Part of the Git course

Everything so far has been one piece at a time: a commit here, a branch there, a rebase when the history needed straightening. In a real job those pieces come as a single routine, repeated several times a week, and the routine has a name. You take a copy of the project, do your work off to one side, ask a colleague to look at it, respond to what they say, and only then let your work join the shared version.

This lesson walks the whole loop once, end to end, using the commands you already know plus a handful of new ones. The interesting part is not any single command. It is the part in the middle, where a reviewer asks for a change and you have to decide how to make it without leaving a trail of fix typo commits behind you forever. ...

What you'll learn

  • Clone
  • Feature branch
  • Push
  • gh pr create
  • Fixup commits
  • Autosquash rebase
  • Squash merge vs merge commit

Work through Capstone: A Full Pull Request Flow

Sign in free and open the Git course. Work through the lesson, and ask the AI tutor when you get stuck.