Clean up repo state

This commit is contained in:
Marcus Quinn
2025-03-17 12:34:19 +00:00
parent ad061c1c8f
commit 1e0e391c7f
4 changed files with 10 additions and 17 deletions

4
post-commit.bak Executable file
View File

@ -0,0 +1,4 @@
#!/bin/zsh
echo "Hook running at $(date)" >> ~/sync-log.txt
rsync -av --delete --exclude='.git' --exclude-from=/Users/marcusquinn/Git/wpa-superstar-plugin/.gitignore ~/Git/wpa-superstar-plugin/ ~/Local/plugin-testing/app/public/wp-content/plugins/wpa-superstar-plugin/ >> ~/sync-log.txt 2>&1
echo "Sync complete" >> ~/sync-log.txt