Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 848 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 848 Bytes

NotionHook

A YOUTUBE EXPLANATION VIDEO WILL COME SOON!

This script only works on macOS, I haven't been able to make it work on Windows.

These scripts uses notion-py.

With these files you can save in notion a backup of your commit messages, url and time.

  • Move the files in .git/hooks folder inside your project folder, or the one you configured by git config --global core.hooksPath.
  • open the terminal, navigate in the folder and execute python3 ./setHooks.py
  • paste your token and the url of the database view.
  • Now every commit will take some more time, but it will be saved into your database view:

image

Please use the exact same column names!