Scroll to navigation

JGIT(1) General Commands Manual JGIT(1)


jgit - Pure Java GIT version control system implementation


jgit --git-dir GIT_DIR --help (-h) --show-stack-trace command [ARG ...]


JGit is an implementation of GIT VCS written in Java language.

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.


Set the git repository to operate on
Display help text
display the Java stack trace on exceptions

The most commonly used commands are:

Add file contents to the index
List, create, or delete branches
Checkout a branch to the working tree
Clone a repository into a new directory
Record changes to the repository
Export repositories over git://
Show diffs
Update remote refs from another repository
Create an empty git repository
View commit history
Merges two development histories
Update remote repository from local refs
Stop tracking a file
Create a tag
Display the version of jgit


JGit was written by Eclipse JGIT Project contributors,

This manual page was written by Jakub Adam <>, for the Debian project (but may be used by others).

November 11, 2011