Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 484 Bytes

File metadata and controls

15 lines (12 loc) · 484 Bytes

jgit-usage-examples

Contains a test class showing some simple JGit use cases:

  • Initializing a (local) repository
  • Adding a file
  • Performing a commit
  • Creating a branch
  • Merging a branch (with or without conflicts)
  • Checking out a specific revision
  • Getting all changes to a file over multiple commits
  • Getting all commits that contain changes to a specific file

Installation

Clone this repository and run "mvn clean install" from inside the directory. Requires Java 8.