Skip to contents

I want to find which commit deleted script.R. The tool for that is git log --oneline -- path.

Usage

exo_log_deleted_file(parent_path)

Arguments

parent_path

Path where to create the exercise repo

Value

The path to the new project

git log -- <path>.

Examples

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