🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@cush/git-repo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cush/git-repo

Git repository class

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 05 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts