Skip to content

Commit

Permalink
feat: add new file to git on creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed May 8, 2022
1 parent 7f96c85 commit 9ee0dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calliope.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ add_entry ()
ln -s ../../templates/$style_file .
fi

cp ../../templates/entry.tex "$filename"
cp ../../templates/entry.tex "$filename" && git add --intent-to-add "$filename"

sed -i "s/@year/$year/g" "$filename"
sed -i "s/@MONTH/$(date +%B)/g" "$filename"
Expand Down

0 comments on commit 9ee0dca

Please sign in to comment.