Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions book/B-embedding-git/sections/jgit.asc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(((jgit)))(((Java)))
If you want to use Git from within a Java program, there is a fully featured Git library called JGit.
JGit is a relatively full-featured implementation of Git written natively in Java, and is widely used in the Java community.
The JGit project is under the Eclipse umbrella, and its home can be found at http://www.eclipse.org/jgit[].
The JGit project is under the Eclipse umbrella, and its home can be found at https://www.eclipse.org/jgit/[].

==== Getting Set Up

Expand All @@ -19,10 +19,10 @@ Probably the easiest is to use Maven – the integration is accomplished by addi
</dependency>
----

The `version` will most likely have advanced by the time you read this; check http://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit[] for updated repository information.
The `version` will most likely have advanced by the time you read this; check https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit[] for updated repository information.
Once this step is done, Maven will automatically acquire and use the JGit libraries that you'll need.

If you would rather manage the binary dependencies yourself, pre-built JGit binaries are available from http://www.eclipse.org/jgit/download[].
If you would rather manage the binary dependencies yourself, pre-built JGit binaries are available from https://www.eclipse.org/jgit/download[].
You can build them into your project by running a command like this:

[source,console]
Expand Down Expand Up @@ -155,6 +155,6 @@ Many other commands are available through the Git class, including but not limit
This is only a small sampling of JGit's full capabilities.
If you're interested and want to learn more, here's where to look for information and inspiration:

* The official JGit API documentation can be found at http://www.eclipse.org/jgit/documentation/[].
* The official JGit API documentation can be found at https://www.eclipse.org/jgit/documentation[].
These are standard Javadoc, so your favorite JVM IDE will be able to install them locally, as well.
* The JGit Cookbook at https://github.com/centic9/jgit-cookbook[] has many examples of how to do specific tasks with JGit.
4 changes: 2 additions & 2 deletions book/B-embedding-git/sections/libgit2.asc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(((libgit2)))((("C")))
Another option at your disposal is to use Libgit2.
Libgit2 is a dependency-free implementation of Git, with a focus on having a nice API for use within other programs.
You can find it at http://libgit2.github.com[].
You can find it at https://libgit2.org[].

First, let's take a look at what the C API looks like.
Here's a whirlwind tour:
Expand Down Expand Up @@ -222,7 +222,7 @@ Objective-git is fully interoperable with Swift, so don't fear if you've left Ob
===== pygit2

(((Python)))
The bindings for Libgit2 in Python are called Pygit2, and can be found at http://www.pygit2.org/[].
The bindings for Libgit2 in Python are called Pygit2, and can be found at https://www.pygit2.org[].
Our example program:

[source,python]
Expand Down