DELAPARRA
Index
Color
NL
Category: Git commands

git clone

Explained by Updated

What is git clone?

git clone: Download a remote repository and its full history to your machine. git clone downloads a complete copy of a repository, including its full history and branches. git clone git@gitlab.com:company/project.git creates a project folder with a working copy of the default branch. It is usually the first step on a new project. After cloning, the project's README should tell you how to install dependencies and start the application.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about git clone

What should you keep in mind with git clone?

For very large repositories, --depth 1 fetches only the latest commit, which is much faster and enough for a CI build or a quick look. Use SSH URLs with an SSH key for repositories you push to, so you do not need to type a password. If a clone fails with a permission error, check that your key is added to your account on the Git platform.

At a glance

CategoryGit commands
Explained by
Updated

More Git commands terms

All terms starting with G

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.