mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Simplify notes:sync to pull directly into local main
Was fetching remote then checking out stale local branch
This commit is contained in:
@@ -32,8 +32,7 @@ tasks:
|
|||||||
notes:sync:
|
notes:sync:
|
||||||
desc: Sync latest changes from the notes submodule
|
desc: Sync latest changes from the notes submodule
|
||||||
cmds:
|
cmds:
|
||||||
- git submodule update --remote {{.NOTES_DIR}}
|
- cd {{.NOTES_DIR}} && git checkout main && git pull
|
||||||
- cd {{.NOTES_DIR}} && git checkout main
|
|
||||||
silent: false
|
silent: false
|
||||||
|
|
||||||
notes:open:
|
notes:open:
|
||||||
|
|||||||
Reference in New Issue
Block a user