git2r v0.26.1

0

Monthly downloads

0th

Percentile

Provides Access to Git Repositories

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.

Functions in git2r

Name Description
as.data.frame.git_tree Coerce entries in a git_tree to a data.frame
blob_create Create blob from file on disk
branch_get_upstream Get remote tracking branch
add Add file(s) to index
as.list.git_tree Coerce entries in a git_tree to a list of entry objects
branch_delete Delete a branch
as.data.frame.git_repository Coerce Git repository to a data.frame
ahead_behind Ahead Behind
branch_create Create a branch
branch_rename Rename a branch
branch_set_upstream Set remote tracking branch
branch_remote_name Remote name of a branch
blame Get blame for file
branch_remote_url Remote url of a branch
default_signature Get the signature
cred_env Create a new environmental credential object
clone Clone a remote repository
commit Commit
is_local Check if branch is local
cred_ssh_key Create a new passphrase-protected ssh key credential object
descendant_of Descendant
content Content of blob
is_merge Is merge
note_remove Remove the note for an object
bundle_r_package Bundle bare repo of package
cred_token Create a new personal access token credential object
hashfile Determine the sha from a blob in a file
branches Branches
branch_target Get target (sha) pointed to by a branch
hash Determine the sha from a blob string
remotes Get the configured remotes for a repo
odb_objects List all objects available in the database
notes List notes
remote_url Get the remote url for remotes in a repo
odb_blobs Blobs in the object database
checkout Checkout
commits Commits
contributions Contributions
head.git_repository Get HEAD for a repository
config Config
git2r git2r: R bindings to the libgit2 library
init Init a repository
last_commit Last commit
is_tree Check if object is S3 class git_tree
index_remove_bypath Remove an index entry corresponding to a file on disk
libgit2_version Version of the libgit2 library
reflog List and view reflog information
lookup Lookup
push Push
punch_card Punch card
git_config_files Locate the path to configuration files
diff.git_repository Changes between commits, trees, working tree, etc.
fetch Fetch new data and update tips
fetch_heads Get updated heads during the last fetch.
cred_user_pass Create a new plain-text username and password credential object
remote_add Add a remote to a repo
is_blob Check if object is S3 class git_blob
tag_delete Delete an existing tag reference
tag Create tag targeting HEAD commit in repository
parents Parents
is_bare Check if repository is bare
is_binary Is blob binary
is_branch Check if object is git_branch
is_shallow Determine if the repository is a shallow clone
is_tag Check if object is a git_tag object
is_empty Check if repository is empty
in_repository Determine if a directory is in a git repository
is_head Check if branch is head
ssh_path Compose usual path to ssh keys
discover_repository Find path to repository for any file
stash_pop Pop stash
ssl_cert_locations Set the SSL certificate-authority locations
length.git_tree Number of entries in tree
merge.git_branch Merge a branch into HEAD
is_commit Check if object is a git_commit object
is_detached Check if HEAD of repository is detached
libgit2_features Compile time options for libgit2.
remote_ls List references in a remote repository
status Status
merge_base Find a merge base between two commits
plot.git_repository Plot commits over time
length.git_blob Size in bytes of the contents of a blob
lookup_commit Lookup the commit related to a git object
repository_head Get HEAD for a repository
repository Open a repository
length.git_diff Number of files in git_diff object
ls_tree List the contents of a tree object
reexports Objects exported from other packages
references Get all references that can be found in a repository.
rm_file Remove files from the working tree and from the index
sha Get the SHA-1 of a git object
stash Stash
stash_apply Apply stash
remote_remove Remove a remote
when When
workdir Workdir of repository
note_default_ref Default notes reference
note_create Add note for a object
remote_rename Rename a remote
remote_set_url Set the remote's url in the configuration
stash_list List stashes in repository
summary.git_stash Summary of a stash
stash_drop Drop stash
print.git_reflog_entry Print a reflog entry
summary.git_tree Summary of tree
[.git_tree Extract object from tree
summary.git_repository Summary of repository
pull Pull
revparse_single Revparse
tags Tags
reset Reset current HEAD to the specified state
tree Tree
No Results!

Last month downloads

Details

License GPL-2
Copyright See COPYRIGHTS file.
URL https://github.com/ropensci/git2r
BugReports https://github.com/ropensci/git2r/issues
Type Package
LazyData true
Biarch true
NeedsCompilation yes
SystemRequirements By default, git2r uses a system installation of the libgit2 headers and library. However, if a system installation is not available, builds and uses a bundled version of the libgit2 source. zlib headers and library. OpenSSL headers and library (non-macOS). LibSSH2 (optional on non-Windows) to enable the SSH transport.
Collate 'blame.R' 'blob.R' 'branch.R' 'bundle_r_package.R' 'checkout.R' 'commit.R' 'config.R' 'contributions.R' 'credential.R' 'diff.R' 'fetch.R' 'git2r.R' 'index.R' 'libgit2.R' 'merge.R' 'note.R' 'odb.R' 'plot.R' 'pull.R' 'punch_card.R' 'push.R' 'reference.R' 'reflog.R' 'refspec.R' 'remote.R' 'repository.R' 'reset.R' 'revparse.R' 'sha.R' 'signature.R' 'stash.R' 'status.R' 'tag.R' 'time.R' 'tree.R' 'when.R'
Encoding UTF-8
RoxygenNote 6.1.1
Packaged 2019-06-29 21:17:13 UTC; stefan
Repository CRAN
Date/Publication 2019-06-29 22:50:26 UTC
suggests getPass
imports graphics , utils
depends R (>= 3.1)
Contributors see file

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/git2r)](http://www.rdocumentation.org/packages/git2r)