Secure git gc launch

I came across the first request to start git gc. The message I received from my last commit was:

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

and...

You may also run "git gc" manually. See "git help gc" for more information.

So my question is: I am running git gc --aggressive, --auto --pruneor --quiet.

Essentially, am I worried that I could lose any commit history or upset my master branch in any way?

Any recommendations?

+3
source share
1 answer

, git gc . , . , (, gc.pruneexpire, gc.reflogexpire ..), , , , reflog . git gc , ( ) git gc --aggressive. . , --quiet.

+3

All Articles