Man pages for git2r
Provides Access to Git Repositories

addAdd file(s) to index
ahead_behindAhead Behind
as.data.frame.git_repositoryCoerce Git repository to a 'data.frame'
as.data.frame.git_treeCoerce entries in a git_tree to a 'data.frame'
as.list.git_treeCoerce entries in a git_tree to a list of entry objects
blameGet blame for file
blob_createCreate blob from file on disk
branch_createCreate a branch
branch_deleteDelete a branch
branchesBranches
branch_get_upstreamGet remote tracking branch
branch_remote_nameRemote name of a branch
branch_remote_urlRemote url of a branch
branch_renameRename a branch
branch_set_upstreamSet remote tracking branch
branch_targetGet target (sha) pointed to by a branch
bundle_r_packageBundle bare repo of package
checkoutCheckout
cloneClone a remote repository
commitCommit
commitsCommits
configConfig
contentContent of blob
contributionsContributions
cred_envCreate a new environmental credential object
cred_ssh_keyCreate a new passphrase-protected ssh key credential object
cred_tokenCreate a new personal access token credential object
cred_user_passCreate a new plain-text username and password credential...
default_signatureGet the signature
descendant_ofDescendant
diff-methodsChanges between commits, trees, working tree, etc.
discover_repositoryFind path to repository for any file
fetchFetch new data and update tips
fetch_headsGet updated heads during the last fetch.
git2rgit2r: R bindings to the libgit2 library
git_config_filesLocate the path to configuration files
git_timeTime
hashDetermine the sha from a blob string
hashfileDetermine the sha from a blob in a file
head.git_repositoryGet HEAD for a repository
index_remove_bypathRemove an index entry corresponding to a file on disk
initInit a repository
in_repositoryDetermine if a directory is in a git repository
is_bareCheck if repository is bare
is_binaryIs blob binary
is_blobCheck if object is S3 class git_blob
is_branchCheck if object is 'git_branch'
is_commitCheck if object is a git_commit object
is_detachedCheck if HEAD of repository is detached
is_emptyCheck if repository is empty
is_headCheck if branch is head
is_localCheck if branch is local
is_mergeIs merge
is_shallowDetermine if the repository is a shallow clone
is_tagCheck if object is a git_tag object
is_treeCheck if object is S3 class git_tree
last_commitLast commit
length.git_blobSize in bytes of the contents of a blob
length.git_diffNumber of files in git_diff object
length.git_treeNumber of entries in tree
libgit2_featuresCompile time options for libgit2.
libgit2_versionVersion of the libgit2 library
lookupLookup
lookup_commitLookup the commit related to a git object
ls_treeList the contents of a tree object
mergeMerge a branch into HEAD
merge_baseFind a merge base between two commits
note_createAdd note for a object
note_default_refDefault notes reference
note_removeRemove the note for an object
notesList notes
odb_blobsBlobs in the object database
odb_objectsList all objects available in the database
parentsParents
plot.git_repositoryPlot commits over time
print.git_reflog_entryPrint a reflog entry
pullPull
punch_cardPunch card
pushPush
reexportsObjects exported from other packages
referencesGet all references that can be found in a repository.
reflogList and view reflog information
remote_addAdd a remote to a repo
remote_lsList references in a remote repository
remote_removeRemove a remote
remote_renameRename a remote
remotesGet the configured remotes for a repo
remote_set_urlSet the remote's url in the configuration
remote_urlGet the remote url for remotes in a repo
repositoryOpen a repository
repository_headGet HEAD for a repository
resetReset current HEAD to the specified state
revparse_singleRevparse
rm_fileRemove files from the working tree and from the index
shaGet the SHA-1 of a git object
ssh_pathCompose usual path to ssh keys
ssl_cert_locationsSet the SSL certificate-authority locations
stashStash
stash_applyApply stash
stash_dropDrop stash
stash_listList stashes in repository
stash_popPop stash
statusStatus
sub-.git_treeExtract object from tree
summary.git_repositorySummary of repository
summary.git_stashSummary of a stash
summary.git_treeSummary of tree
tagCreate tag targeting HEAD commit in repository
tag_deleteDelete an existing tag reference
tagsTags
treeTree
whenWhen
workdirWorkdir of repository
git2r documentation built on Nov. 26, 2023, 5:06 p.m.