kienamtics

This commit is contained in:
PROFERIS - Mi³osz Stocki
2026-07-08 14:53:47 +02:00
parent ed6c6a6658
commit 242df22ba6
6 changed files with 109 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
const fs = require('fs');
const { execSync } = require('child_process');
try {
const output = execSync('git log -p -3 src/main.cpp', { cwd: 'm:/Nextcloud/IoT/esp32s3-wiji' });
fs.writeFileSync('m:/Nextcloud/IoT/esp32s3-wiji/git_history.txt', output);
console.log('Success');
} catch (e) {
console.log('Error', e.message);
}