the given Repositories instance
Create new branch for repo.
Create new branch for repo. You can omit oldBranchName to default to "master".
the old branch name
the new branch name
a promise of completion
Create new branch for repo.
Create new branch for repo. You can omit oldBranchName to default to "master".
the new branch name
a promise of completion
Get contents at a particular path in a particular branch.
Get contents at a particular path in a particular branch.
the desired branch (e.g. "master")
the "path to" directory
a promise of the contents
Get contributors list with additions, deletions, and commit counts.
Get contributors list with additions, deletions, and commit counts.
a promise of the contributors
Get information about a particular commit.
Get information about a particular commit.
the branch name
the SHA key
a promise of the commit
Get list of statuses for a particular commit.
Get list of statuses for a particular commit.
the SHA key
a promise of the array of commit statuses
Check if a repository is starred.
Check if a repository is starred.
the owner
the repository
the completion callback
Retrieve all available branches (aka heads) of a repository.
Retrieve all available branches (aka heads) of a repository.
a promise of the array of branches
Reads stored content
Reads stored content
the branch name
the path to the content
a promise of the content
Remove a file.
Remove a file.
the branch name
the path to the content
a promise of completion
the given Repositories instance
Show repository information
Store content at a certain path.
Store content at a certain path. If the file specified in the path exists, the content is updated. If the file doesn't exist, it's created on the fly. You can also provide an optional object literal, (options in the example below) containing information about the author and the committer.
the branch name
the path to the content
the user content
the commit message
the optional settings
a promise of completion
Repository Enrichment