设置gc.refLogExpire [英] Setting gc.refLogExpire

查看:125
本文介绍了设置gc.refLogExpire的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何设置gc.reflogExpire,以便项目永远不会过期?

可以接受哪些时间间隔格式?



该男子页面表示您可以将其设置为90天或3个月,但不指定它所期望的格式。 解决方案

将gc.refLogExpire设置为never应该有所斩获。


How do I set gc.reflogExpire so that items will never expire?
What other time interval formats does it accept?

The man page says that you can set it to "90 days or 3 months," but doesn't specify what format it expects.

解决方案

Setting gc.refLogExpire to "never" should do the trick.

这篇关于设置gc.refLogExpire的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆