2.0.0 • Published 6 years ago

@cush/git-repo v2.0.0

Weekly downloads
1
License
-
Repository
github
Last release
6 years ago

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.