mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-01-31 22:38:00 +00:00
Compare commits
No commits in common. "bfd2a196ef05641dff85663416d77445ea34c2de" and "b8cf08e274b84947a95e0e1a292c441eb37fcceb" have entirely different histories.
bfd2a196ef
...
b8cf08e274
2 changed files with 8 additions and 3 deletions
|
@ -4,9 +4,11 @@ gh
|
||||||
git
|
git
|
||||||
iproute2
|
iproute2
|
||||||
jq
|
jq
|
||||||
|
make
|
||||||
mdbook
|
mdbook
|
||||||
nodejs-lts
|
nodejs-lts
|
||||||
openssh
|
openssh
|
||||||
rclone
|
rclone
|
||||||
|
rsync
|
||||||
sqlite
|
sqlite
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
cd ~/storage/shared/logseq
|
cd ~/logseq
|
||||||
|
rsync -a ~/storage/shared/logseq/journals/ journals/
|
||||||
|
rsync -a ~/storage/shared/logseq/pages/ pages/
|
||||||
git add --all
|
git add --all
|
||||||
git commit -m update || :
|
if git commit -m update; then
|
||||||
. .githooks/post-commit
|
rsync -a ./ ~/storage/shared/logseq/
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue