This function removes the last commit from the active branch of the specified git repository. ONLY USE THIS FUNCTION IF YOUR COMMIT IS NOT YET PUSHED TO THE REMOTE!!! This function is meant for users that are not familiar with Git to easily remove an automatically generated commit in forresdat after they discovered mistakes in it.

remove_last_commit_forresdat(repo_path)

Arguments

repo_path

name and path of local git repository in which last commits should be removed

Value

A dataframe with the specified table

Examples

if (FALSE) { # \dontrun{
#change paths before running
library(forrescalc)
# add path to your local clone of forresdat
path_to_forresdat <- "xxx/forresdat"

# only run this after writing a commit with `save_results_forresdat()` or
# `from_access_to_forresdat()` that has not yet been pushed to Github!
remove_last_commit_forresdat(repo_path = path_to_forresdat)
} # }