💾 Archived View for freeshell.de › tldr › git-clone.gmi captured on 2023-01-29 at 04:48:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

git clone

Clone an existing repository.

More information.

git clone {remote_repository_location}
git clone {remote_repository_location} {path/to/directory}
git clone --recursive {remote_repository_location}
git clone -l {path/to/local/repository}
git clone -q {remote_repository_location}
git clone --depth {10} {remote_repository_location}
git clone --branch {name} --single-branch {remote_repository_location}
git clone --config core.sshCommand="{ssh -i path/to/private_ssh_key}" {remote_repository_location}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY