Git

git clone

SafeClone a repo

git clone <url>

Copies a remote repository to your machine.

Examples

  • git clone https://github.com/u/r.gitClone via HTTPS

Syntax

git clone <url> [dir]

Before you run it

Creates locally only.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store