object ConsoleGitRunner extends GitRunner
A mechanism of running git that simply shells out to the console.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConsoleGitRunner
- GitRunner
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(args: String*)(cwd: sbt.File, log: sbt.Logger = ConsoleLogger()): String
Akin to running 'git {args}' with a given working directory
cwd
and logger.Akin to running 'git {args}' with a given working directory
cwd
and logger. This will always return the resulting output string of the process.- Definition Classes
- ConsoleGitRunner → GitRunner
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val colorSupport: Seq[(String, String)]
-
def
commitAndPush(msg: String, tag: Option[String] = None)(repo: sbt.File, log: sbt.Logger): Unit
Commits all local changes and pushes the new commit to a remote repository.
Commits all local changes and pushes the new commit to a remote repository.
- Definition Classes
- GitRunner
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isWindowsShell: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pull(cwd: sbt.File, log: sbt.Logger): String
Pulls remote changes into the local branch.
Pulls remote changes into the local branch.
- Definition Classes
- GitRunner
-
def
push(cwd: sbt.File, log: sbt.Logger): String
Pushes local commits to the remote branch.
Pushes local commits to the remote branch.
- Definition Classes
- GitRunner
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ConsoleGitRunner → AnyRef → Any
-
def
updated(remote: String, branch: Option[String], cwd: sbt.File, log: sbt.Logger): Unit
Updates the cwd from a remote branch.
Updates the cwd from a remote branch. If the local git repo doesn't exist, will clone it into existence.
- Definition Classes
- GitRunner
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()