Ubuntu shutdown hook?
- by ???
I want to check 10+ local Git repositories if they have any unpushed commit, before shutdown.
(I always forgot to push them, so later, the next morning I came office and back home again)
I think maybe the shutdown process can check some conditions to meet, if any condition is not met, then give the user the choice to continue to shutdown or just cancel.
Then, I can write something to hook the shutdown to check my Git repository to push.