parse_git_blame | R Documentation |
Create a data.table with the blame data of each line of a file in a specific commit.
parse_git_blame(git_repo_path, commit_hash, file_path)
git_repo_path |
git_repo_path path to git repo (ends in .git) |
commit_hash |
a commit hash which indicates the specific version of the file (the commit must exist in 'git_log') |
file_path |
the filepath to the file which will be blamed |
a data.table which contains blame commits for each line of a file and metadata of the commits.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.