Any way to make Vault auto check in files?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-06 08:41:48

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/8397918/any-way-to-make-vault-auto-check-in-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!