Example usage for Java org.eclipse.jgit.api ResetCommand fields, constructors, methods, implement or subclass
The text is from its open source code.
ResetCommand(Repository repo) Constructor for ResetCommand. |
ResetCommand | addPath(String path) Repository relative path of file or directory to reset |
Ref | call() Executes the Reset command. |
ResetCommand | setMode(ResetType mode) Set the reset mode |
ResetCommand | setRef(String ref) Set the name of the Ref to reset to |