Managing Applescript with git version control

Update: I’ve gone back to using the save command rather than direct export. The issue I was having with the saved compiled script opening in place of the .AppleScript version was only if I saved without run only (i…e. set run only to false). If I set run only to true then of course it doesn’t open in place and effectively performs an export which makes sense. And consistent with that it shows the confirmation dialog which I can learn to live with. Why not just use the direct export command, you might ask. The direct export creates subfolders and stuff which is great when I’m exporting a build for release but I prefer to avoid the extra cruft if just doing a build for internal testing.