chore(vault): rebuild git infra (gitignore/attributes/mailmap/hooks)
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
#!/bin/sh
|
||||
# post-merge — git pull/merge 后自动更新 qmd 索引
|
||||
# post-merge — refresh qmd index + hint to reload Obsidian after config pull
|
||||
|
||||
echo "=== post-merge: Updating qmd index ==="
|
||||
node "C:\Users\hhhh2024\AppData\Roaming\npm\node_modules\@tobilu\qmd\dist\cli\qmd.js" update 2>/dev/null || echo " qmd update skipped (not installed?)"
|
||||
|
||||
# If .obsidian configs changed in this merge, hint reload
|
||||
if ! git diff --quiet HEAD@{1} HEAD -- .obsidian 2>/dev/null; then
|
||||
echo "=== .obsidian config changed: reload Obsidian (Ctrl+R) to apply ==="
|
||||
fi
|
||||
|
||||
echo "=== Done ==="
|
||||
|
||||
Reference in New Issue
Block a user