4 ms·
>Some people automate this: they have a process that runs every few minutes and commits the current working tree to a special branch that they look at only in c
by onpensionsterm 4y ago
>Some people automate this: they have a process that runs every few minutes and commits the current working tree to a special branch that they look at only in case of disaster.
This sounds nice. Does anyone have a concrete example?
I'd like to try with a cronjob but it would be useful to avoid having to create the job manually for each repo & I don't want a job repeatedly scanning all my disks. Is there anything like a global post-clone hook? Additionally, I'd be worried about race-conditions from saving work during the job.