Tänään on 17.01.2018 02:53 ja nimipäiviään viettävät: Toni, Anton, Anttoni, Antto, Tony ja Antonia. 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