git clone
"git, clone, <url>" EK, EXISTING, remote, repository, ki, POORI, HISTORY, ko, LOCAL, MACHINE, PAR, DOWNLOAD, kar, deta hai — YE, AUTOMATICALLY, "origin" NAAM, ka, remote, bhi, SETUP, kar, deta hai.
"--depth, 1" flag, se, EK, "SHALLOW, clone" ki, ja, sakti, hai — sirf, LATEST, commit, DOWNLOAD, hota hai, POORI, HISTORY, nahi.
git clone https://github.com/user/repo.git
git clone --depth 1 https://github.com/user/repo.git- git clone = poori history download karta hai, "origin" remote automatically setup
- --depth 1 = shallow clone, sirf latest commit
- Shallow clones CI/CD pipelines mein time/space bachate hain
"git, clone, <url>" EK, EXISTING, remote, repository, ki, POORI, HISTORY, (SAARE, commits, branches, tags) ko, LOCAL, MACHINE, PAR, DOWNLOAD, kar, deta hai — YE, AUTOMATICALLY, "origin" NAAM, ka, remote, bhi, SETUP, kar, deta hai.
git clone https://github.com/user/repo.git
git clone https://github.com/user/repo.git my-folder-name"--depth, 1" flag, se, EK, "SHALLOW, clone" ki, ja, sakti, hai — sirf, LATEST, commit, DOWNLOAD, hota hai, POORI, HISTORY, nahi. LARGE, repositories, ke, liye, YE, CLONE, TIME, aur, DISK, SPACE, KAAFI, BACHATA, hai.