有什么办法可以让Vault自动检入文件吗?

发布于 2024-12-19 21:18:42 字数 130 浏览 4 评论 0原文

有谁知道是否有办法使 Vault 或 Vault 的用户在一天中的某个时间(即办公时间之后)自动签入其签出的文件。

我知道实现这一点有明显的缺点,因此如果有人有任何想法可以实现所需的结果(签入文件),请分享。

谢谢

Does anyone know if there is a way to make Vault, or the users of Vault to automatically check in their checked out files at a certain time of day (i.e. after office hours).

I know there are obvious drawbacks to implementing this so if anyone has any ideas to bring about the desired result (checked in files), please share.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光无声 2024-12-26 21:18:42

我真的想不出自动提交可以带来什么好处。

如果我的本地计算机上有一些未完成的工作,我可以有两种选择,也可以有一个选择,具体取决于以下因素:

我使用的是分布式版本控制还是集中式版本控制?

在第一个场景中,我可以在本地提交,而无需推送到中央存储库,从而获得版本控制的好处,而无需强迫其他人处理我未完成或可能损坏的代码。

如果是集中版本控制,您会吸收它并将其保留在本地以供第二天使用,希望您的硬盘不会在一夜之间出现故障。

就这么简单。然后回答你的问题,不,我不记得Vault(或任何其他版本控制软件)中有这样的功能,我认为这将是一个糟糕的主意。

I can't really possibly think of any benefit automatic commits could bring.

If I have some unfinished work on my local computer, I can either have two choices, or a single one depending on this factor:

Am I using distrubuted versioning or centralized versioning?

In the first scenario I can committ locally without pushing to the central repository, thus gaining the benefits of version control without forcing other people to deal with my unfinished or possibly broken code.

If it's centralized versioning, you suck it up and keep it locally for the next day, hoping your HDD doesn't fail overnight.

It's really simple as that. Then to just answer your question, no, I don't recall such functionality in vault (or any other versioning software) and I think that would be a terrible idea.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文