does anyone know if there is kotlin bindings for l...
# announcements
n
does anyone know if there is kotlin bindings for libgit2 or a kotlin implemenation of git like JGit ? if not i might just fall back to running git commands directly.. i just plan to do simple things like clone, add, commit and tag, push
c
I'm using Grgit, it's a Groovy wrapper over JGit. For simple things I usually need it for, it's ok. Example:
Copy code
private fun pullAndMerge() {
	with(grgit) {
		checkout { it.branch = "develop" }
		pull()
		checkout { it.branch = "master" }
		pull()
		merge { it.head = "develop" }
	}
}
n
looking at JGit it seems simple to write a Kt wrapper for it.. just not sure if its worth the effort for me.. yet