mirror of
https://github.com/jbranchaud/til
synced 2026-01-02 22:58: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:
|
||||
desc: Sync latest changes from the notes submodule
|
||||
cmds:
|
||||
- git submodule update --remote {{.NOTES_DIR}}
|
||||
- cd {{.NOTES_DIR}} && git checkout main
|
||||
- cd {{.NOTES_DIR}} && git checkout main && git pull
|
||||
silent: false
|
||||
|
||||
notes:open:
|
||||
|
||||
Reference in New Issue
Block a user