notes/devops/vcs/git/cli/clone.txt
Ihar Hancharenka b9c36c1e5a m
2024-02-04 19:40:05 +03:00

22 строки
375 B
Plaintext

git clone:
http://git-scm.com/docs/git-clone
git clone
-n <remote-repo>
-n is --no-checkout
-l --no-hardlinks <local-repo-path>
-l is --local
--branch <branch-name>
MIRRORING:
git clone --mirror ...
:: HEAD - currently checked out branch
git remote -v update --prune
:: git fetch --prune -v --multiple --all
:: git fetch --append --prune -v origin