# NOT RUN {
# }
# NOT RUN {
## Example-1
# Set the current directory to the git repository concerned.
setwd("./Path/to/repository")
# Obtained details of the last 10 commits in the repository
list_commits(num_commits = 10)
## Example-2
# Obtained the details of the last 20 (default value) commits in the repository
# specified by path.
list_commits(path)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab