Skip to content

aleclarson/git-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Repository class driven by aleclarson/git-utils

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published