git pull とかcheckoutで勝手にtags作成してほしかったので調べた時のをメモ。 プロジェクトのルートディレクトリ直下の.git/hooksディレクトリにhookさせるファイルを置けば良いんだけど毎回置くのも面倒なので勝手に作ってくれる設定 cd mkdir -p .git_tmp/hooks cd .git_tmp/hooks touch post-commit # git commit hook touch post-merge # git merge, git pull hook touch post-checkout # git checkout hook touch ctags chmod +x *