Skip to contents

You can use the saperlipopette R package to practice Git in a safe environment!

There are different ways to go about this:

  • You could try to do all the exercises. To create all the exercises in one go, see the create_all_exercises() function. Maybe one day we’ll have enough exercises for an Advent calendar of Git!

  • Say you hear about Git worktrees in a blog post or tool. You could decide to practice using the relevant exercise after searching for “worktree” in the pkgdown website: exo_worktree().

  • You need to do an interactive rebase but are a bit unsure about it. You could first refresh your knowledge using exo_rebase_i() before using the skill on a real repository!

For each exercise, you could do them using the tip() function the first time to get advice on how to solve it, and refraining from using it the second time, to check your understanding.

Please share with us any comment, bug report or feature request on the exercises!