Skip to content

GiT post checkout hook to rewrite the local wordpress_path in Movefile

Alessandro Fazzi edited this page Aug 28, 2015 · 1 revision

As connormckelvey wrote here:

In case anyone else is interested, I wrote a node script that you can use as a post-checkout hook with git. https://github.com/connormckelvey/hooks/blob/master/wordmove-post-checkout

It will run when you clone a repository and run when you switch branches. Works pretty well for my team.