Skip to content

Commit

Permalink
update the script
Browse files Browse the repository at this point in the history
  • Loading branch information
pourmand1376 committed Aug 10, 2023
1 parent d19552b commit e809a8c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions obsidian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ DOWNLOAD_FOLDER="$HOME_PATH/storage/shared/Download"
OBSIDIAN_SCRIPT="
function sync_obsidian
{
cd \"$1\"
git add .
git commit -m \"Android Commit\"
git fetch
git merge --no-edit
git add .
git commit -m \"automerge android\"
git push
echo \"Sync is finished\"
sleep 2
}
cd "$1"
git add .
git commit -m "Android Commit"
git fetch
git merge --no-edit
git add .
git commit -m "automerge android"
git push
echo "Sync is finished"
sleep 1
}
"

# Define functions for each menu option
Expand Down

0 comments on commit e809a8c

Please sign in to comment.