Sublime Forum

Sublime Merge and githooks



I’d like to let Sublime Merge know where to look for stuff my githooks will need on a “per repo” basis.

I have a couple githooks running on different repos (gulp tasks to lint the codebase and some githooks that check the commit message looking for a particular regex).

I also make use of nvm and this means that I would like to tell Sublime Merge: “I have gulp at this location, node-sass is here, etc” but on a repo basis, since I could be using other node versions in other repos.

Is this possible?

I saw this: Solved: Environment (?)

But I am currently on a Mac environment, using the 1107 Unregistered version and could only get the githooks running fine when using smerge from the terminal where the repo lives.