exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 5 question 39 discussion

Actual exam question from Microsoft's AZ-400
Question #: 39
Topic #: 5
[All AZ-400 Questions]

DRAG DROP
-

You have an Azure Repos repository that contains large PSD files.

You need to configure Git LFS to manage all the files.

How should you complete the script? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
renzoku
Highly Voted 1 year, 9 months ago
git lfs install # Initialize Git LFS in the repository git lfs track "*.psd" # Track the large PSD files using Git LFS git add .gitattributes # Generated by lfs track, contains the LFS tracking information git commit -m "commit changes" git lfs migrate import --include="*.psd" --everything # Migrate the existing large PSD files git push # Send the commit changes to Azure Repo
upvoted 13 times
...
kay000001
Highly Voted 1 year, 10 months ago
git lfs install git lfs track "*.psd" git add .gitattributes git commit -m "track *.psd files using Git LFS" git push https://stackoverflow.com/questions/70796855/how-to-use-git-lfs-to-push-complete-folder-to-github
upvoted 6 times
zeaimen
1 year, 10 months ago
one step remaining => should be git lfs migrate (before push)
upvoted 3 times
...
kay000001
1 year, 10 months ago
Another link to support my claim: https://git-lfs.com/
upvoted 3 times
...
catfood
1 year, 10 months ago
you're missing one answer box though... migrate git history before the push.
upvoted 3 times
...
...
MrAZ105
Most Recent 6 months, 4 weeks ago
looks correct by ET
upvoted 1 times
...
vsvaid
1 year, 4 months ago
Ignore my comments, I missed the migration part in my suggestion. renzoku is correct .
upvoted 1 times
...
vsvaid
1 year, 4 months ago
git lfs install -------Install git lfs track "*.psd" -----add tracking for .psd files git add .gitattributes ------- adding tracking modifies the gitattributes files, so add these changes as well git commit -m "track *.psd files using Git LFS" ----commit git push --push to remote
upvoted 1 times
vsvaid
1 year, 4 months ago
Before push, need to to migrate as well
upvoted 1 times
...
...
din4venti
1 year, 10 months ago
Looks correct. https://docs.github.com/en/repositories/working-with-files/managing-large-files/configuring-git-large-file-storage https://github.com/git-lfs/git-lfs/wiki/Tutorial#migrating-existing-repository-data-to-lfs
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago