feat: add --rebase --autostash to notesSync
This commit is contained in:
parent
dcd1807fb2
commit
3af1404300
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ notesSync() {
|
||||||
{
|
{
|
||||||
path="${notes_dir}/"
|
path="${notes_dir}/"
|
||||||
cd "$path"
|
cd "$path"
|
||||||
git pull --quiet
|
git pull --quiet --rebase --autostash
|
||||||
git add .
|
git add .
|
||||||
git commit -m "[bash script] update/add entries" >> /dev/null
|
git commit -m "[bash script] update/add entries" >> /dev/null
|
||||||
git push --quiet
|
git push --quiet
|
||||||
|
|
Loading…
Reference in a new issue