1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-04-06 19:12:26 +02:00

[FEAT] Remote Git Sync

This commit is contained in:
Ryan Greenup 2020-07-17 00:59:50 +10:00
parent ab40260127
commit 218177813a

View File

@ -419,6 +419,8 @@ CadmusMisc() {
;;
print) shift; "${script_dir}/NoteFind.sh" "${NOTES_DIR}" | xargs mdcat
;;
sync) shift; cd "${NOTES_DIR}"; git pull && git add -A && git commit && git push
;;
--*) >&2 echo "bad option $1"
;;
*) >&2 echo -e "argument \e[1;35m${1}\e[0m has no definition."