Recall & Review
beginner
What is Git LFS?
Git LFS (Large File Storage) is an extension for Git that helps manage large files by storing them outside the main repository, replacing them with small pointer files inside Git.
Click to reveal answer
beginner
How does Git LFS store large files differently from regular Git?
Instead of storing the actual large files in the Git repository, Git LFS stores small pointer files in Git and keeps the large files on a separate server or storage.
Click to reveal answer
beginner
Which command initializes Git LFS in a repository?
The command
git lfs install sets up Git LFS in your local Git environment.Click to reveal answer
beginner
How do you track a file type with Git LFS?
Use
git lfs track "*.fileextension" to tell Git LFS to manage files with that extension.Click to reveal answer
intermediate
What happens when you clone a repository that uses Git LFS?
Git LFS downloads the small pointer files first, then automatically fetches the large files from the LFS server after cloning.
Click to reveal answer
What is the main benefit of using Git LFS?
✗ Incorrect
Git LFS keeps large files outside the main Git repo, reducing repository size and improving performance.
Which command do you run to start using Git LFS in your local Git setup?
✗ Incorrect
The correct command to initialize Git LFS is
git lfs install.How do you tell Git LFS to track all PNG image files?
✗ Incorrect
Use
git lfs track "*.png" to track PNG files with Git LFS.What file does Git LFS update to keep track of which files it manages?
✗ Incorrect
Git LFS updates the
.gitattributes file to mark files it manages.When cloning a repo with Git LFS files, what happens to the large files?
✗ Incorrect
Git LFS downloads large files automatically after cloning the repo.
Explain how Git LFS helps manage large files in a Git repository.
Think about how Git normally stores files and what changes with Git LFS.
You got /4 concepts.
Describe the steps to start tracking a new file type with Git LFS in your project.
Consider initialization, tracking, and committing changes.
You got /4 concepts.