Scratchpad code written in development of my master's thesis. This repository is public to help make more examples of how JGit can be used available.
- Create a
.env
file in the project root with the following filled in:
JIRA_USER=username
JIRA_PASSWORD=password
GITHUB_AUTH_TOKEN=token
You will want the JIRA username and password to be the credentials you use to login to your project's JIRA instance. You can try signing up for a JIRA account with an open-source project that uses it.
- Run
mvn install
to install the dependencies. - View the
Driver
class for some examples of how the methods are called.- Create a directory called
temp
insrc/main/java/bettergithistory/
. This directory will hold all of the generated files from retrieving all versions of a file in the file's own commit history.
- Create a directory called