git2r0.35.0 package

Provides Access to Git Repositories

add

Add file(s) to index

ahead_behind

Ahead Behind

as.data.frame.git_repository

Coerce Git repository to a data.frame

as.data.frame.git_tree

Coerce entries in a git_tree to a data.frame

as.list.git_tree

Coerce entries in a git_tree to a list of entry objects

blame

Get blame for file

blob_create

Create blob from file on disk

branch_create

Create a branch

branch_delete

Delete a branch

branch_get_upstream

Get remote tracking branch

branch_remote_name

Remote name of a branch

branch_remote_url

Remote url of a branch

branch_rename

Rename a branch

branch_set_upstream

Set remote tracking branch

branch_target

Get target (sha) pointed to by a branch

branches

Branches

bundle_r_package

Bundle bare repo of package

checkout

Checkout

clone

Clone a remote repository

commit

Commit

commits

Commits

config

Config

content

Content of blob

contributions

Contributions

cred_env

Create a new environmental credential object

cred_ssh_key

Create a new passphrase-protected ssh key credential object

cred_token

Create a new personal access token credential object

cred_user_pass

Create a new plain-text username and password credential object

default_signature

Get the signature

descendant_of

Descendant

diff-methods

Changes between commits, trees, working tree, etc.

discover_repository

Find path to repository for any file

fetch_heads

Get updated heads during the last fetch.

fetch

Fetch new data and update tips

git_config_files

Locate the path to configuration files

git_time

Time

git2r

git2r: R bindings to the libgit2 library

hash

Determine the sha from a blob string

hashfile

Determine the sha from a blob in a file

head.git_repository

Get HEAD for a repository

in_repository

Determine if a directory is in a git repository

index_remove_bypath

Remove an index entry corresponding to a file on disk

init

Init a repository

is_bare

Check if repository is bare

is_binary

Is blob binary

is_blob

Check if object is S3 class git_blob

is_branch

Check if object is git_branch

is_commit

Check if object is a git_commit object

is_detached

Check if HEAD of repository is detached

is_empty

Check if repository is empty

is_head

Check if branch is head

is_local

Check if branch is local

is_merge

Is merge

is_shallow

Determine if the repository is a shallow clone

is_tag

Check if object is a git_tag object

is_tree

Check if object is S3 class git_tree

last_commit

Last commit

length.git_blob

Size in bytes of the contents of a blob

length.git_diff

Number of files in git_diff object

length.git_tree

Number of entries in tree

libgit2_features

Compile time options for libgit2.

libgit2_version

Version of the libgit2 library

lookup_commit

Lookup the commit related to a git object

lookup

Lookup

ls_tree

List the contents of a tree object

merge_base

Find a merge base between two commits

merge

Merge a branch into HEAD

note_create

Add note for a object

note_default_ref

Default notes reference

note_remove

Remove the note for an object

notes

List notes

odb_blobs

Blobs in the object database

odb_objects

List all objects available in the database

parents

Parents

plot.git_repository

Plot commits over time

print.git_reflog_entry

Print a reflog entry

pull

Pull

punch_card

Punch card

push

Push

reexports

Objects exported from other packages

references

Get all references that can be found in a repository.

reflog

List and view reflog information

remote_add

Add a remote to a repo

remote_ls

List references in a remote repository

remote_remove

Remove a remote

remote_rename

Rename a remote

remote_set_url

Set the remote's url in the configuration

remote_url

Get the remote url for remotes in a repo

remotes

Get the configured remotes for a repo

repository_head

Get HEAD for a repository

repository

Open a repository

reset

Reset current HEAD to the specified state

revparse_single

Revparse

rm_file

Remove files from the working tree and from the index

sha

Get the SHA-1 of a git object

ssh_path

Compose usual path to ssh keys

ssl_cert_locations

Set the SSL certificate-authority locations

stash_apply

Apply stash

stash_drop

Drop stash

stash_list

List stashes in repository

stash_pop

Pop stash

stash

Stash

status

Status

sub-.git_tree

Extract object from tree

summary.git_repository

Summary of repository

summary.git_stash

Summary of a stash

summary.git_tree

Summary of tree

tag_delete

Delete an existing tag reference

tag

Create tag targeting HEAD commit in repository

tags

Tags

tree

Tree

when

When

workdir

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.

  • Maintainer: Stefan Widgren
  • License: GPL-2
  • Last published: 2024-10-20