diff --git a/functions.sh b/functions.sh index 415baf4..cff58c0 100644 --- a/functions.sh +++ b/functions.sh @@ -8,7 +8,7 @@ notesSync() { { path="${notes_dir}/" cd "$path" - git pull --quiet + git pull --quiet --rebase --autostash git add . git commit -m "[bash script] update/add entries" >> /dev/null git push --quiet