mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add better status check for notes:push
This commit is contained in:
@@ -51,7 +51,7 @@ tasks:
|
||||
- git commit -m "Update notes - $(date '+%Y-%m-%d %H:%M')"
|
||||
- git push
|
||||
status:
|
||||
- git add NOTES.md && git diff --cached --quiet
|
||||
- git diff --exit-code NOTES.md
|
||||
silent: false
|
||||
|
||||
notes:status:
|
||||
|
||||
Reference in New Issue
Block a user