Git4sReset

com.geirolz.git4s.Git4sReset
See theGit4sReset companion object
trait Git4sReset[F[_]]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def apply()(using CmdLogger[F]): F[Unit]

Reset the current HEAD to the specified state.

Reset the current HEAD to the specified state.

Attributes

def backToNCommit(mode: GitResetMode, n: Int)(using CmdLogger[F]): F[Unit]

Reset the current HEAD to the specified state.

Reset the current HEAD to the specified state.

Value parameters

mode

the mode of the reset

n

the number of commits to go back

Attributes

def toCommit(mode: GitResetMode, commitId: CommitId)(using CmdLogger[F]): F[Unit]

Reset the current HEAD to the specified state.

Reset the current HEAD to the specified state.

Value parameters

commitId

the commit to reset to

mode

the mode of the reset

Attributes