git_oops: Git oops...

View source: R/git_oops.R

git_oopsR Documentation

Git oops...

Description

This function uses the git filter-branch method of removing an accidentally commited BIG file from the git history so that you may get back to happily commiting your little files! It assumes you want to keep the big file, but no longer track it. As such it does not remove the file and adds it to .gitignore.

Usage

git_oops(big_file, keep_file = TRUE, ignore_file = TRUE)

References

https://stackoverflow.com/a/27923526/3069901


jhollist/miscPackage documentation built on March 3, 2024, 9:23 p.m.