feat(journal): sync command in notes dir
This commit is contained in:
parent
67cdd47065
commit
abf6201ce1
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ month_dir=$(date +"%m %b")
|
||||||
|
|
||||||
if [ "$1" = "sync" ]; then
|
if [ "$1" = "sync" ]; then
|
||||||
{
|
{
|
||||||
path="${journal_dir}/${month_dir}/"
|
path="${notes_dir}/"
|
||||||
cd "$path"
|
cd "$path"
|
||||||
git pull
|
git pull
|
||||||
git add .
|
git add .
|
||||||
|
|
Loading…
Reference in a new issue