toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.coding.tools.git
/
GitOperations
Git
Operations
interface
GitOperations
:
DirectoryBased
Uses JGit to perform Git operations on a local repository.
Inheritors
SoftwareProject
Members
Properties
root
Link copied to clipboard
abstract
val
root
:
String
Root on host machine
Functions
checkout
Branch
Link copied to clipboard
open
fun
checkoutBranch
(
branch
:
String
)
:
Boolean
commit
Link copied to clipboard
open
fun
commit
(
message
:
String
,
addAll
:
Boolean
=
true
)
:
Boolean
create
And
Checkout
Branch
Link copied to clipboard
open
fun
createAndCheckoutBranch
(
branch
:
String
)
:
Boolean
current
Branch
Link copied to clipboard
open
fun
currentBranch
(
)
:
String
delete
Branch
Link copied to clipboard
open
fun
deleteBranch
(
branch
:
String
)
:
Boolean
list
Branches
Link copied to clipboard
open
fun
listBranches
(
)
:
List
<
String
>
pull
Latest
Changes
Link copied to clipboard
open
fun
pullLatestChanges
(
)
:
Boolean
revert
Link copied to clipboard
open
fun
revert
(
)
:
Boolean
open
fun
revert
(
commitHash
:
String
)
:
Boolean