Overview of JGit API layers
masterJGit is organized into two primary layers:
- Low-level API: Provides granular access to Git objects (commits, trees, blobs, tags) and internal structures. Use this for complex operations or when you need fine-grained control.
- Porcelain commands: Higher-level, user-facing commands that mimic standard Git CLI behavior (e.g.,
add,commit,branch,merge). These are generally easier to use for common tasks.