diff --git a/git_status_output.txt b/git_status_output.txt deleted file mode 100644 index 4cee223..0000000 --- a/git_status_output.txt +++ /dev/null @@ -1,8 +0,0 @@ -On branch main -Changes not staged for commit: - (use "git add ..." to update what will be committed) - (use "git restore ..." to discard changes in working directory) - modified: admin/settings.php - modified: git_status_output.txt - -no changes added to commit (use "git add" and/or "git commit -a") diff --git a/git_status_temp.txt b/git_status_temp.txt deleted file mode 100644 index d165ab7..0000000 --- a/git_status_temp.txt +++ /dev/null @@ -1,9 +0,0 @@ -On branch main -Changes not staged for commit: - (use "git add ..." to update what will be committed) - (use "git restore ..." to discard changes in working directory) - modified: admin/settings.php - modified: git_status_output.txt - modified: git_status_temp.txt - -no changes added to commit (use "git add" and/or "git commit -a") diff --git a/post-commit.bak b/post-commit.bak new file mode 100755 index 0000000..1edea92 --- /dev/null +++ b/post-commit.bak @@ -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 diff --git a/post-merge.bak b/post-merge.bak new file mode 100755 index 0000000..eb79261 --- /dev/null +++ b/post-merge.bak @@ -0,0 +1,6 @@ +#!/bin/bash +if [ -n "$(git status --porcelain)" ]; then + git add . + git commit -m "Auto-commit: Accepted AI change at $(date)" +fi +