Tänään on 20.11.2017 04:06 ja nimipäiviään viettävät: Jari, Jalmari, Hjalmar ja Pontus. 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