我遇到了第一个运行git gc的请求。我上次提交时收到的消息是:
warning: There are too many unreachable loose objects; run 'git prune' to remove them.
Run Code Online (Sandbox Code Playgroud)
还有...
You may also run "git gc" manually. See "git help gc" for more information.
Run Code Online (Sandbox Code Playgroud)
所以我的问题是怎样运行git gc --aggressive,--auto --prune或--quiet。
本质上,我担心我可能会丢失任何提交历史记录或以任何方式破坏我的master分支吗?
有什么建议吗?