Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Perl bindings to the Git linkable library (libgit2)


 - Update libgit2 to b703049 (GH#155, GH#156)
 - Removed Push package completely (GH#155) (Incompatible change):
    The functionality has been absorbed into the Remote package
 - Added Remote methods (GH#155):
    + prune()
    + push()
    + upload()
 - Added Remote callbacks (GH#155):
    + pack_progress
    + push_transfer_progress
    + push_update_reference
latest commit 8d768ec5bb
Jacques Germishuys authored


Build Status: Travis Build Status: AppVeyor Coverage Status


Git::Raw - Perl bindings to the Git linkable library (libgit2)


libgit2 is a pure C implementation of the Git core methods provided as a re-entrant linkable library designed to be fast and portable with a solid API. This module provides Perl bindings to the libgit2 API.

WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).


features( )

List of (optional) compiled in features. Git::Raw may be built with support for threads, HTTPS and SSH.

message_prettify( $msg, [$strip_comments, $comment_char] )

Clean up $msg from excess whitespace and ensure that the last line ends with a newline. The default is to strip all comments, starting with a #, unless otherwise specified.


Alessandro Ghedini <>

Jacques Germishuys <>


Copyright 2012 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See for more information.

Something went wrong with that request. Please try again.