JGit

Features

Example usage:

   $ ./jgit push \
     --push-option "Reviewer=j.doe@example.org" \
     --push-option "<arbitrary string>" \
     origin HEAD:refs/for/master

Push options were also added to cgit

Imitate the packet tracing feature from C Git. Unlike C Git, use the log4j log level setting instead of the GIT_TRACE_PACKET environment variable to enable tracing. Use as follows: 1. Enable tracing by adding the lines

       log4j.logger.org.eclipse.jgit.transport=DEBUG, stderr
       log4j.additivity.org.eclipse.jgit.transport=false
   to org.eclipse.jgit.pgm/resources/log4j.properties.

2. mvn package 3. org.eclipse.jgit.pgm/target/jgit \

       ls-remote git://git.kernel.org/pub/scm/git/git 2>&1 | less

Then the output provides a trace of packets sent and received over the wire

JGit Command Line

LFS