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:
parent
ab40260127
commit
218177813a
@ -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."
|
||||
|
Loading…
x
Reference in New Issue
Block a user