Skip to contents

I am working in a feature branch that's all my own. I made many small commits as I was figuring things out. Now I want the commits to tell a story for the PR reviewers, and not a story of how many stupid mistakes I made! The tool for that is git base --interactive also available as git rebase -i. Useful links:

Usage

exo_rebase_i(parent_path)

Arguments

parent_path

Path where to create the exercise repo

Value

The path to the new project

Git commands

git rebase -i

Examples

if (FALSE) { # interactive()
parent_path <- withr::local_tempdir()
path <- exo_rebase_i(parent_path = parent_path)
}