Open danimesq opened 2 years ago
Reference: https://gist.github.com/andris9/1978266#gistcomment-3930475
https://stackoverflow.com/questions/45416049/how-to-make-a-git-pre-commit-hook-that-checks-the-commit-message (after commit and .gitmeta is done, get commit msg) https://www.w3docs.com/snippets/git/how-to-retrieve-hash-for-commits-in-git.html (get commit hash, too. Then commit in .git/meta)
It would also enable to commit metadata changes when there is a git pull.
git pull
Reference: https://gist.github.com/andris9/1978266#gistcomment-3930475
https://stackoverflow.com/questions/45416049/how-to-make-a-git-pre-commit-hook-that-checks-the-commit-message (after commit and .gitmeta is done, get commit msg) https://www.w3docs.com/snippets/git/how-to-retrieve-hash-for-commits-in-git.html (get commit hash, too. Then commit in .git/meta)