Provides Access to Git Repositories
Get target (sha) pointed to by a branch
Ahead Behind
Branches
Coerce Git repository to a data.frame
Bundle bare repo of package
Coerce entries in a git_tree to a data.frame
Coerce entries in a git_tree to a list of entry objects
Get blame for file
Create blob from file on disk
Create a branch
Delete a branch
Get remote tracking branch
Remote name of a branch
Remote url of a branch
Rename a branch
Add file(s) to index
Set remote tracking branch
Checkout
Clone a remote repository
Commit
Commits
Config
Content of blob
Contributions
Create a new environmental credential object
Create a new passphrase-protected ssh key credential object
Create a new personal access token credential object
Create a new plain-text username and password credential object
Get the signature
Descendant
Changes between commits, trees, working tree, etc.
Find path to repository for any file
Fetch new data and update tips
Get updated heads during the last fetch.
Locate the path to configuration files
Time
git2r: R bindings to the libgit2 library
Determine the sha from a blob string
Determine the sha from a blob in a file
Get HEAD for a repository
Determine if a directory is in a git repository
Remove an index entry corresponding to a file on disk
Init a repository
Check if repository is bare
Is blob binary
Check if object is S3 class git_blob
Check if object is git_branch
Check if object is a git_commit object
Check if HEAD of repository is detached
Check if repository is empty
Check if branch is head
Check if branch is local
Is merge
Determine if the repository is a shallow clone
Check if object is a git_tag object
Check if object is S3 class git_tree
Last commit
Size in bytes of the contents of a blob
Number of files in git_diff object
Number of entries in tree
Compile time options for libgit2.
Version of the libgit2 library
Lookup
Lookup the commit related to a git object
List the contents of a tree object
Merge a branch into HEAD
Find a merge base between two commits
Add note for a object
Default notes reference
Remove the note for an object
List notes
Blobs in the object database
List all objects available in the database
Parents
Plot commits over time
Print a reflog entry
Pull
Punch card
Push
Objects exported from other packages
Get all references that can be found in a repository.
List and view reflog information
Add a remote to a repo
List references in a remote repository
Remove a remote
Rename a remote
Set the remote's url in the configuration
Get the remote url for remotes in a repo
Get the configured remotes for a repo
Open a repository
Get HEAD for a repository
Reset current HEAD to the specified state
Revparse
Remove files from the working tree and from the index
Get the SHA-1 of a git object
Compose usual path to ssh keys
Set the SSL certificate-authority locations
Stash
Apply stash
Drop stash
List stashes in repository
Pop stash
Status
Extract object from tree
Summary of repository
Summary of a stash
Summary of tree
Create tag targeting HEAD commit in repository
Delete an existing tag reference
Tags
Tree
When
Workdir of repository
Interface to the 'libgit2' library, which is a pure C implementation of the 'Git' core methods. Provides access to 'Git' repositories to extract data and running some basic 'Git' commands.
Useful links