2.0.0 • Published 6 years ago
@cush/git-repo v2.0.0
git-repo v2.0.0
Repository
class driven by aleclarson/git-utils
Available methods
isClean()
isStaged()
stageFiles(files)
commit(message)
getHead(branch, opts)
hasBranch(branch, opts)
getBranch()
getBranches(remote, opts)
setBranch(branch, opts)
addBranch(branch)
pushBranch(opts)
deleteBranch(branch, opts)
resetBranch(commit, opts)
addTag(tag, opts)
deleteTag(tag, opts)
Certain methods have their result cached.
2.0.0
6 years ago