Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bonniesimon/27db202eb472e8fafd20b95b1fceabb9 to your computer and use it in GitHub Desktop.
Save bonniesimon/27db202eb472e8fafd20b95b1fceabb9 to your computer and use it in GitHub Desktop.
backup logseq
backup:
@cd development-notes/; \
git add .; \
git commit -m "$(shell date)"; \
git push;
@echo "==================================================";
@echo "==========Pushing development-notes===============";
@echo "==================================================\n\n\n"
@cd main-journal/; \
git add .; \
git commit -m "$(shell date)"; \
git push;
@echo "==================================================";
@echo "============Pushing main-journal==================";
@echo "=================================================="
### Usage
# make backup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment