AZ-400 – Question 225


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:

Correct Answer:

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