powered by
Retrieves the information from git about a file
git.info(gitdir, filename, branch = NULL, git_args = character(), git_binary = NULL)
string with git directory
string of file to query
git branch
string argument for git
location of git executable
git log for filename
# NOT RUN { si <- pull_source_info("adaprHome") file0 <- file.path(si$project.path,project.directory.tree$analysis,"read_data.R") git.info(si$project.path,file0) # } # NOT RUN { # }
Run the code above in your browser using DataLab