mirror of
https://github.com/jbranchaud/til
synced 2026-01-06 16:48:01 +00:00
Add git pull --rebase to notes:push task
Co-authored-by: jbranchaud <694063+jbranchaud@users.noreply.github.com>
This commit is contained in:
committed by
Josh Branchaud
parent
d980514bff
commit
6c3805e7cd
@@ -47,6 +47,7 @@ tasks:
|
|||||||
desc: Commit and push changes to notes submodule
|
desc: Commit and push changes to notes submodule
|
||||||
dir: '{{.NOTES_DIR}}'
|
dir: '{{.NOTES_DIR}}'
|
||||||
cmds:
|
cmds:
|
||||||
|
- git pull --rebase origin main
|
||||||
- git add NOTES.md
|
- git add NOTES.md
|
||||||
- git commit -m "Update notes - $(date '+%Y-%m-%d %H:%M')"
|
- git commit -m "Update notes - $(date '+%Y-%m-%d %H:%M')"
|
||||||
- git push
|
- git push
|
||||||
|
|||||||
Reference in New Issue
Block a user