chaschev / kgit

Lightweight Git Client in Kotlin Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KGit

Lightweight Git Client written in Kotlin Language.

KGit is used to make basic Git operations simple.

When things get tricky, you may fall back to JGit which is used under the hood.

Right I use in my Gradle script to upload jars to Git repository. It is also used in the lightweight orchestration tool I am currently developing.

val git = Git(url, localRepo)

git.checkoutBranch("master")

git.withBranch("release") {
    git.readOneFile("README.md")
}

git.commit("added README.md from release branch")
git.push()

About

Lightweight Git Client in Kotlin Language


Languages

Language:Kotlin 97.2%Language:Java 2.8%