Skip to contents

I want to find which commit deleted the line "iris" from the text file. The tool for that is git log -S<string> path/to/file or git log -G<regex> path/to/file.

Usage

exo_log_deleted_line(parent_path)

Arguments

parent_path

Path where to create the exercise repo

Value

The path to the new project

git log -S<string>, git log -G<regex>.

Examples

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