RDocumentation
Moon
Search all packages and functions
Readme not available 😞
Copy Link
Copy
Link to current version
Version
Version
0.28.0
0.27.1
0.26.1
0.26.0
0.25.2
0.25.1
0.24.0
0.23.0
0.22.1
0.21.0
0.20.0
0.19.0
0.18.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.1
0.12.1
0.11.0
0.10.1
0.7
0.6
Down Chevron
Install
install.packages('git2r')
Monthly Downloads
66,543
Version
0.28.0
License
GPL-2
Issues
73
Pull Requests
5
Stars
172
Forks
54
Repository
https://github.com/ropensci/git2r
Homepage
https://docs.ropensci.org/git2r/ (website)
Maintainer
Stefan Widgren
Last Published
January 10th, 2021
Functions in git2r (0.28.0)
Search functions
as.data.frame.git_tree
Coerce entries in a git_tree to a
data.frame
ahead_behind
Ahead Behind
branch_delete
Delete a branch
add
Add file(s) to index
as.list.git_tree
Coerce entries in a git_tree to a list of entry objects
branch_get_upstream
Get remote tracking branch
blob_create
Create blob from file on disk
as.data.frame.git_repository
Coerce Git repository to a
data.frame
blame
Get blame for file
branch_create
Create a branch
branch_remote_name
Remote name of a branch
clone
Clone a remote repository
cred_token
Create a new personal access token credential object
git_time
Time
is_branch
Check if object is
git_branch
branch_remote_url
Remote url of a branch
cred_user_pass
Create a new plain-text username and password credential object
is_commit
Check if object is a git_commit object
hash
Determine the sha from a blob string
discover_repository
Find path to repository for any file
diff.git_repository
Changes between commits, trees, working tree, etc.
branch_rename
Rename a branch
branch_set_upstream
Set remote tracking branch
in_repository
Determine if a directory is in a git repository
index_remove_bypath
Remove an index entry corresponding to a file on disk
cred_env
Create a new environmental credential object
odb_blobs
Blobs in the object database
reset
Reset current HEAD to the specified state
repository_head
Get HEAD for a repository
stash_list
List stashes in repository
notes
List notes
stash_pop
Pop stash
branches
Branches
content
Content of blob
branch_target
Get target (sha) pointed to by a branch
cred_ssh_key
Create a new passphrase-protected ssh key credential object
head.git_repository
Get HEAD for a repository
hashfile
Determine the sha from a blob in a file
is_detached
Check if HEAD of repository is detached
is_binary
Is blob binary
contributions
Contributions
is_blob
Check if object is S3 class git_blob
commit
Commit
config
Config
commits
Commits
fetch
Fetch new data and update tips
is_merge
Is merge
is_empty
Check if repository is empty
is_shallow
Determine if the repository is a shallow clone
note_remove
Remove the note for an object
note_default_ref
Default notes reference
pull
Pull
punch_card
Punch card
revparse_single
Revparse
remotes
Get the configured remotes for a repo
repository
Open a repository
fetch_heads
Get updated heads during the last fetch.
bundle_r_package
Bundle bare repo of package
git2r
git2r: R bindings to the libgit2 library
default_signature
Get the signature
descendant_of
Descendant
checkout
Checkout
length.git_diff
Number of files in git_diff object
git_config_files
Locate the path to configuration files
last_commit
Last commit
length.git_blob
Size in bytes of the contents of a blob
ls_tree
List the contents of a tree object
init
Init a repository
tags
Tags
rm_file
Remove files from the working tree and from the index
tag_delete
Delete an existing tag reference
is_bare
Check if repository is bare
is_tag
Check if object is a git_tag object
is_local
Check if branch is local
is_head
Check if branch is head
libgit2_features
Compile time options for libgit2.
length.git_tree
Number of entries in tree
push
Push
remote_remove
Remove a remote
reexports
Objects exported from other packages
libgit2_version
Version of the libgit2 library
merge.git_branch
Merge a branch into HEAD
is_tree
Check if object is S3 class git_tree
note_create
Add note for a object
print.git_reflog_entry
Print a reflog entry
remote_ls
List references in a remote repository
remote_add
Add a remote to a repo
merge_base
Find a merge base between two commits
plot.git_repository
Plot commits over time
summary.git_tree
Summary of tree
sha
Get the SHA-1 of a git object
ssh_path
Compose usual path to ssh keys
lookup
Lookup
remote_set_url
Set the remote's url in the configuration
tag
Create tag targeting HEAD commit in repository
lookup_commit
Lookup the commit related to a git object
stash_apply
Apply stash
status
Status
remote_url
Get the remote url for remotes in a repo
stash_drop
Drop stash
references
Get all references that can be found in a repository.
parents
Parents
reflog
List and view reflog information
odb_objects
List all objects available in the database
workdir
Workdir of repository
[.git_tree
Extract object from tree
stash
Stash
summary.git_repository
Summary of repository
summary.git_stash
Summary of a stash
ssl_cert_locations
Set the SSL certificate-authority locations
tree
Tree
when
When
remote_rename
Rename a remote