Answers
Here are the answers to this chapter’s questions:
- Use the built-in
scalar
tool, either using it to clone the repository or to register the given repository with the tool. - You can use shallow clone or blobless sparse clone. In the first case, you would get a shortened history, while in the second case, the repository’s size will be smaller but some operations will require network access to download additional data.
- You can store large files outside the repository with Git-LFS or git-annex (or a similar solution). You can clone the repository without downloading large file data with the sparse clone feature.
- Use the sparse checkout feature if you’re only working inside a specific subdirectory, use sparse clone to reduce repository size, and use filesystem monitor (if possible) to make operations faster.
- Shallow clone only downloads selected part of the repository history, and all local operations are limited to this selection, though...