This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instructions | |
# ======================================================================== | |
# 1. Copy this file to .git/hooks/post-checkout (remove the .sh extension) | |
# | |
# 2. Set the destination for the logs, e.g. | |
# - export CHECKOUT_LOG='~/checkout.log' | |
# - also add it as a Windows environment variable with the full filepath | |
# | |
# 3. Watch the logs update every time you checkout a branch with | |
# tail -f $CHECKOUT_LOG |