HOTSPOT - You manage the Git repository for a large enterprise application. You need to minimize the data size of the repository. How should you complete the co...


Microsoft AZ-400 Exam

Questions Number: 393 out of 535 Questions
73.46%

Question 393
HOTSPOT -
You manage the Git repository for a large enterprise application.
You need to minimize the data size of the repository.
How should you complete the commands? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
AZ-400_393Q.png related to the Microsoft AZ-400 Exam



Box 1: --aggressive -
Cleanup unnecessary files and optimize the local repository:
git gc --aggressive
Box 2: prune -
Prune all unreachable objects from the object database:
git prune
Reference:
https://gist.github.com/Zoramite/2039636





Previous Questions Next Questions