Question 236 of 296 from exam AZ-400: Designing and Implementing Microsoft DevOps Solutions

Question 236 of 296 from exam AZ-400: Designing and Implementing Microsoft DevOps Solutions

Question

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:

Explanations

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

https://gist.github.com/Zoramite/2039636