Java org.eclipse.jgit.api ResetCommand fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.api ResetCommand fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.api ResetCommand.

The text is from its open source code.

Constructor

ResetCommand(Repository repo)

Constructor for ResetCommand.

Method

ResetCommandaddPath(String path)
Repository relative path of file or directory to reset
Refcall()

Executes the Reset command.

ResetCommandsetMode(ResetType mode)
Set the reset mode
ResetCommandsetRef(String ref)
Set the name of the Ref to reset to