Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ git clone <URL>
How do I clone using SSH?

Make sure you have uploaded an SSH key to your GitHub account and then run:

Code Block
languagebash
$ git clone git@github.com:path/to/repo.git

For example, to clone the jdk repository over SSH:

Code Block
languagebash
$ git clone git@github.com:openjdk/jdk.git
How should I structure my local clones of repositories?

...