Post-Local sync at 2025-06-14T02:06:31Z
This commit is contained in:
parent
d2547cdba0
commit
2da6d2b612
4 changed files with 41 additions and 0 deletions
|
@ -362,6 +362,12 @@
|
|||
"branch": "master",
|
||||
"commit": "7e7e2f2e2d833cfcb5e12a6abf5449bd16121a78",
|
||||
"message": "Generated index.json at 2025-06-14T01:21:44Z"
|
||||
},
|
||||
{
|
||||
"timestamp": "2025-06-13 21:06:32",
|
||||
"branch": "master",
|
||||
"commit": "3e3700f34ba29f160f53c1645fe8bcafde823508",
|
||||
"message": "Generated docs/integrity.sha256 at 2025-06-14T02:06:31Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1025,3 +1025,7 @@
|
|||
Diff Summary:
|
||||
.gitfield/github.sigil.md | 14 +++++++-------
|
||||
1 file changed, 7 insertions(+), 7 deletions(-)
|
||||
[2025-06-14T02:06:32Z] Local: , Branch=master, Commit=c1ab40c
|
||||
Diff Summary:
|
||||
.gitfield/local.sigil.md | 16 ++++++++--------
|
||||
1 file changed, 8 insertions(+), 8 deletions(-)
|
||||
|
|
31
bin/gitfield-status-audit.sh
Executable file
31
bin/gitfield-status-audit.sh
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "🔍 Scanning all Git repositories under $(pwd)..."
|
||||
echo
|
||||
|
||||
for dir in */; do
|
||||
if [ -d "$dir/.git" ]; then
|
||||
cd "$dir" || continue
|
||||
echo "📂 Repository: $dir"
|
||||
|
||||
# Check for uncommitted changes
|
||||
if ! git diff --quiet || ! git diff --cached --quiet; then
|
||||
echo " ⚠️ Uncommitted changes present"
|
||||
fi
|
||||
|
||||
# Check for unpushed commits
|
||||
UPSTREAM=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null)
|
||||
if [ -n "$UPSTREAM" ]; then
|
||||
AHEAD=$(git rev-list --count HEAD.."$UPSTREAM")
|
||||
BEHIND=$(git rev-list --count "$UPSTREAM"..HEAD)
|
||||
if [ "$BEHIND" -gt 0 ]; then
|
||||
echo " 🚀 Commits pending to push: $BEHIND"
|
||||
fi
|
||||
else
|
||||
echo " ❓ No upstream tracking branch set"
|
||||
fi
|
||||
|
||||
cd .. || continue
|
||||
echo
|
||||
fi
|
||||
done
|
0
test
0
test
Loading…
Add table
Add a link
Reference in a new issue