Tänään on 24.09.2017 11:39 ja nimipäiviään viettävät: Alvar ja Auno. MOBIILIVERSIO M.BLOGIVIRTA.FI

Nuudelisoppa: Get GIT_WORK_TREE from the post-checkout hook

Julkaistu: · Päivitetty:

I was crafting a post-checkout hook and wanted to do something depending on the absolute path of $GIT_WORK_TREE in the current environment. In git 2.7.4 (and up to 2.4.14) at least, that environment variable was set to “.” when inside the post-checkout hook, which was a little unhelpful in this case. So I spent some … Continue reading "Get GIT_WORK_TREE from the post-checkout hook"

Avainsanat: uncategorized some environment continue case