0
0
Gitdevops~10 mins

Git LFS for large files - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to install Git LFS on your system.

Git
git [1] install
Drag options to blanks, or click blank then click option'
Apush
Blfs
Ccommit
Dclone
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'clone' instead of 'lfs' will try to clone a repo.
Using 'commit' or 'push' are unrelated to installing Git LFS.
2fill in blank
medium

Complete the command to track all files with the .psd extension using Git LFS.

Git
git lfs [1] "*.psd"
Drag options to blanks, or click blank then click option'
Atrack
Bcommit
Cpush
Dclone
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'commit' or 'push' here will cause errors.
Using 'clone' is unrelated to tracking files.
3fill in blank
hard

Fix the error in the command to add the .mp4 files to Git LFS tracking.

Git
git lfs [1] '*.mp4'
Drag options to blanks, or click blank then click option'
Atrack
Btracks
Ctracke
Dtrak
Attempts:
3 left
💡 Hint
Common Mistakes
Adding extra letters or misspelling 'track' causes command failure.
4fill in blank
hard

Fill both blanks to commit the .zip files tracked by Git LFS with a message.

Git
git add [1] && git commit -m [2]
Drag options to blanks, or click blank then click option'
A".gitattributes"
B"*.zip"
C"Add zip files to LFS tracking"
D"Initial commit"
Attempts:
3 left
💡 Hint
Common Mistakes
Adding '*.zip' directly instead of the .gitattributes file.
Using vague commit messages like 'Initial commit' here.
5fill in blank
hard

Fill all three blanks to push your Git LFS tracked files to the remote repository.

Git
git [1] && git [2] && git [3] origin main
Drag options to blanks, or click blank then click option'
Aadd .gitattributes
Bpush
Cmain
Dcommit -m "Add LFS files"
Attempts:
3 left
💡 Hint
Common Mistakes
Pushing before committing changes.
Using wrong branch names or missing commit messages.