Answer the question
In order to leave comments, you need to log in
How to permanently autocommit a directory in Windows?
Windows. There is a directory in which files are added, changed and deleted. Is it possible to do:
1) Automatic commit on any change of files in the directory?
2) Scheduled automatic commit?
Answer the question
In order to leave comments, you need to log in
Can. File changes can be caught through PowerShell. According to the schedule - through the scheduler. Make a mini script with commands and execute it.
In principle, you can put a watcher. If you have C# experience, then see FileSystemWatcher . There is even an example on this page. Pretty good, by the way.
PS
Just make sure these watchers won't wait until you commit. A cart and a small cart can pile up events. But just on the go, some topics are vague there. Gotta practice.
PPS
Just in case: https://diff2html.xyz/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question