The Groovy way to use Git.

License: Apache-2.0

Language: Groovy

Keywords: git, groovy, jgit


Bintray Travis Quality Gate GitHub license

Why do you care?

JGit provides a powerful Java API for interacting with Git repositories. However, in a Groovy context it feels very cumbersome, making it harder to express the operations you want to perform without being surrounded by a lot of cruft.

What is it?

Grgit is a wrapper over JGit that provides a fluent API for interacting with Git repositories in Groovy-based tooling.

With the tooling focus, "porcelain" commands are the primary scope of what is included. Features that require more user interaction (such as resolving merge conflicts) are intentionally excluded.

It also provides a Gradle plugin to easily get a Grgit instance for the build's repository.


NOTE: grgit is available from JCenter or the Gradle Plugin Portal. It is not published to Maven Central.

Questions, Bugs, and Features

Please use the repo's issues for all questions, bug reports, and feature requests.


Contributions are very welcome and are accepted through pull requests.

Smaller changes can come directly as a PR, but larger or more complex ones should be discussed in an issue first to flesh out the approach.

If you're interested in implementing a feature on the issues backlog, add a comment to make sure it's not already in progress and for any needed discussion.


Thanks to everyone who has contributed to the library.

Project Statistics

Sourcerank 10
Repository Size 4.87 MB
Stars 248
Forks 53
Watchers 13
Open issues 25
Dependencies 12
Contributors 17
Tags 85
Last updated
Last pushed

Top Contributors See all

Andrew Oberstar Marcin Zajączkowski Frank Vennemeyer Nikolay Nesterov Christoph Schulz itoed Making GitHub Delicious. Louis Bergelson Odin Hole Standal Jason Zwolak donalhenry QuentinBrun jblack10101 Miguel Ferreira Adam Dubiel Piotr Wielgolaski Aaron J. Zirbes

Packages Referencing this Repo

The Groovy way to use Git.
Latest release 1.9.3 - Updated - 248 stars

Recent Tags See all

3.1.0-beta.2 March 23, 2019
3.1.0-beta.1 March 23, 2019
3.0.0 November 18, 2018
3.0.0-rc.4 November 18, 2018
3.0.0-rc.3 November 13, 2018
3.0.0-rc.2 October 06, 2018
3.0.0-rc.1 October 06, 2018
3.0.0-beta.1 July 04, 2018
2.3.0 July 04, 2018
2.3.0-rc.1 July 04, 2018
2.2.1 June 02, 2018
2.2.1-rc.5 June 02, 2018
2.2.1-rc.4 June 01, 2018
2.2.1-rc.3 June 01, 2018
2.2.1-rc.2 May 31, 2018

Something wrong with this page? Make a suggestion

Last synced: 2018-01-18 03:46:24 UTC

Login to resync this repository