1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-31 14:27:59 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
bfd2a196ef no use rsync 2022-11-12 16:55:16 +09:00
a2a06bf313 fix logseq sync 2022-11-09 01:10:26 +09:00
2 changed files with 3 additions and 8 deletions

View file

@ -4,11 +4,9 @@ gh
git
iproute2
jq
make
mdbook
nodejs-lts
openssh
rclone
rsync
sqlite
)

View file

@ -1,9 +1,6 @@
#!/bin/sh
set -e
cd ~/logseq
rsync -a ~/storage/shared/logseq/journals/ journals/
rsync -a ~/storage/shared/logseq/pages/ pages/
cd ~/storage/shared/logseq
git add --all
if git commit -m update; then
rsync -a ./ ~/storage/shared/logseq/
fi
git commit -m update || :
. .githooks/post-commit