mirror of
https://github.com/jbranchaud/til
synced 2026-01-05 08:08:02 +00:00
Reorder commands: commit before pull --rebase
Co-authored-by: jbranchaud <694063+jbranchaud@users.noreply.github.com>
This commit is contained in:
committed by
Josh Branchaud
parent
b1198d2488
commit
0d4959046d
@@ -47,9 +47,9 @@ 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
|
|
||||||
- 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 pull --rebase
|
||||||
- git push
|
- git push
|
||||||
status:
|
status:
|
||||||
- git diff --exit-code NOTES.md
|
- git diff --exit-code NOTES.md
|
||||||
|
|||||||
Reference in New Issue
Block a user