How do I clone a git repository with username and password?

Thanh Thảo

New member
How do I clone a git repository with username and password?
Answer
To git clone using a password, simply provide the username for the git account, and you will be prompted with the password.
git clone https://
[email protected]
<repository_url> Cloning
into ‘private-repo’ Password for ‘https://<username>@<repository_url>: remote: Enumerating objects: 3, done.
 

Tìm kiếm

Back
Top