I read that there are no post-merge hooks available in Atlassian Stash per this article. My bare Stash repository is outside the document tree and I'd like for it to copy the working directory into a directory in the document root after a merge has completed in Stash. I know that bare repositories don't have working directories but I saw a git command that utilized --work-tree and --git-dir on a bare repository to check out the files into another directory. See here - pause at 11:43
The referenced article also mentioned something about the Stash SDK but I didn't know if this would allow me to extract the working directory from the bare repository. This seemed like something Git would need to handle.
If anyone has any suggestions on accomplishing this through Stash-available hooks, I'd appreciate it. Certainly not opposed to accomplishing through other means, as well.
Thank you