This question shows research effort; it is useful and clear
6
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
在Git from the Bottom Up John Wiegley 建议全天运行一个 cronjob,调用 git stash,然后调用 git stash apply。我很欣赏每小时(甚至更频繁地)对我的工作进行快照的想法,但我担心如果文件暂时消失或恢复到 HEAD,构建可能会中断。有没有另一种方法来实现目标,而不会冒这个风险?